Remove unneeded injection of GitRepositoryManager
Change-Id: I9b2a57ee20f5ff8694a8f02a83a34a9fd50f9a99
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
diff --git a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilter.java b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilter.java
index 0bb1046..4a5670d 100644
--- a/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilter.java
+++ b/hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/workflow/GerritHookFilter.java
@@ -27,7 +27,6 @@
import com.google.gerrit.server.events.CommentAddedEvent;
import com.google.gerrit.server.events.PatchSetCreatedEvent;
import com.google.gerrit.server.events.RefUpdatedEvent;
-import com.google.gerrit.server.git.GitRepositoryManager;
import com.google.gwtorm.server.OrmException;
import com.google.inject.Inject;
import com.googlesource.gerrit.plugins.hooks.util.CommitMessageFetcher;
@@ -36,9 +35,6 @@
private static final Logger log = LoggerFactory.getLogger(GerritHookFilter.class);
@Inject
- private GitRepositoryManager repoManager;
-
- @Inject
private CommitMessageFetcher commitMessageFetcher;
public String getComment(String projectName, String commitId)