Removing unused reference to ItsName ITS related plugins are now using directly the plugin name defined in the MANIFEST.MF and available through the @PluginName standard Gerrit annotation Change-Id: I39be0338e3dde311db92e5eae3b05e0abd7bedb3
diff --git a/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/RTCModule.java b/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/RTCModule.java index b5d85d7..c0fc78e 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/RTCModule.java +++ b/src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/RTCModule.java
@@ -28,7 +28,6 @@ import com.google.inject.AbstractModule; import com.google.inject.Inject; import com.googlesource.gerrit.plugins.hooks.its.ItsFacade; -import com.googlesource.gerrit.plugins.hooks.its.ItsName; import com.googlesource.gerrit.plugins.hooks.rtc.filters.RTCAddComment; import com.googlesource.gerrit.plugins.hooks.rtc.filters.RTCAddRelatedLinkToChangeId; import com.googlesource.gerrit.plugins.hooks.rtc.filters.RTCAddRelatedLinkToGitWeb; @@ -58,8 +57,6 @@ bind(ExecutorService.class).toInstance( new ScheduledThreadPoolExecutor(THREAD_POOL_EXECUTORS)); - bind(String.class).annotatedWith(ItsName.class).toInstance( - RTCItsFacade.ITS_NAME_RTC); DynamicSet.bind(binder(), ChangeListener.class).to( RTCAddRelatedLinkToChangeId.class);