Revert "Adapt to recent changes in the plugin API"
The API change wasn't included on the stable-2.14 branch.
This reverts commit 2fa1f43389bc67a233d200da79b7e0050be5e601.
Change-Id: I68b81c905f69c1a1809de0e5fb9839a736837e13
diff --git a/src/main/java/com/googlesource/gerrit/plugins/verifystatus/client/VerifyStatusPlugin.java b/src/main/java/com/googlesource/gerrit/plugins/verifystatus/client/VerifyStatusPlugin.java
index ec72ed8..2e2575c 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/verifystatus/client/VerifyStatusPlugin.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/verifystatus/client/VerifyStatusPlugin.java
@@ -37,20 +37,17 @@
if (info.showJobsSummaryPanel()) {
Plugin.get().panel(
GerritUiExtensionPoint.CHANGE_SCREEN_BELOW_CHANGE_INFO_BLOCK,
- new JobsSummaryPanel.Factory(),
- "VerifyStatusJobsSummaryPanel");
+ new JobsSummaryPanel.Factory());
}
if (info.showJobsPanel()) {
Plugin.get().panel(
GerritUiExtensionPoint.CHANGE_SCREEN_BELOW_CHANGE_INFO_BLOCK,
- new JobsPanel.Factory(),
- "VerifyStatusJobsPanel");
+ new JobsPanel.Factory());
}
if (info.showJobsDropDownPanel()) {
Plugin.get().panel(
GerritUiExtensionPoint.CHANGE_SCREEN_HEADER_RIGHT_OF_POP_DOWNS,
- new JobsDropDownPanel.Factory(),
- "VerifyStatusJobsDropDownPanel");
+ new JobsDropDownPanel.Factory());
}
}