Adapt to enabling the MutableGuiceModule errorprone pattern in Gerrit core
Change-Id: I3626dd06f6e37cdc023bbeb40317c202ea933837
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/SshModule.java b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/SshModule.java
index 3e69940..bd03170 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/SshModule.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/SshModule.java
@@ -14,9 +14,16 @@
package com.googlesource.gerrit.plugins.reviewnotes;
+import com.google.gerrit.extensions.annotations.PluginName;
import com.google.gerrit.sshd.PluginCommandModule;
+import com.google.inject.Inject;
class SshModule extends PluginCommandModule {
+ @Inject
+ SshModule(@PluginName String pluginName) {
+ super(pluginName);
+ }
+
@Override
protected void configureCommands() {
command(ExportReviewNotes.class);