Delete unused and non-implemented CheckOperations.commit() method

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Iac337511f5e440cd8521651577d116a99cb2da11
diff --git a/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperations.java b/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperations.java
index d28fd5e..83ebafb 100644
--- a/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperations.java
+++ b/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperations.java
@@ -19,7 +19,6 @@
 import com.google.gerrit.plugins.checks.CheckKey;
 import com.google.gerrit.plugins.checks.api.CheckInfo;
 import com.google.gerrit.reviewdb.client.RevId;
-import org.eclipse.jgit.revwalk.RevCommit;
 
 // TODO(gerrit-team): Add Java doc
 public interface CheckOperations {
@@ -34,8 +33,6 @@
 
     Check get() throws Exception;
 
-    RevCommit commit() throws Exception;
-
     ImmutableMap<RevId, String> notesAsText() throws Exception;
 
     CheckInfo asInfo() throws Exception;
diff --git a/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperationsImpl.java b/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperationsImpl.java
index ea7bf03..7e8f935 100644
--- a/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperationsImpl.java
+++ b/java/com/google/gerrit/plugins/checks/acceptance/testsuite/CheckOperationsImpl.java
@@ -34,7 +34,6 @@
 import org.eclipse.jgit.lib.Repository;
 import org.eclipse.jgit.notes.Note;
 import org.eclipse.jgit.notes.NoteMap;
-import org.eclipse.jgit.revwalk.RevCommit;
 import org.eclipse.jgit.revwalk.RevWalk;
 
 public final class CheckOperationsImpl implements CheckOperations {
@@ -84,11 +83,6 @@
     }
 
     @Override
-    public RevCommit commit() throws Exception {
-      throw new UnsupportedOperationException("bla bla");
-    }
-
-    @Override
     public ImmutableMap<RevId, String> notesAsText() throws Exception {
       try (Repository repo = repoManager.openRepository(key.project());
           RevWalk rw = new RevWalk(repo)) {