Apache Solr open-source search software
LUCENE-3193: remove @override for interface method implementations
Shai Ereraa58aa6592497
diff --git a/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java b/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.javaindex b16d746cc97..66f3526ed90 100644--- a/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java+++ b/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java@@ -44,27 +44,22 @@ public final class TwoPhaseCommitTool {this.commitData = commitData;}- @Overridepublic void prepareCommit() throws IOException {prepareCommit(commitData);}- @Overridepublic void prepareCommit(Map<String, String> commitData) throws IOException {tpc.prepareCommit(this.commitData);}- @Overridepublic void commit() throws IOException {commit(commitData);}- @Overridepublic void commit(Map<String, String> commitData) throws IOException {tpc.commit(this.commitData);}- @Overridepublic void rollback() throws IOException {tpc.rollback();}diff --git a/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java b/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.javaindex b7e528857f7..ddbb5403b4e 100644--- a/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java+++ b/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java@@ -40,12 +40,10 @@ public class TestTwoPhaseCommitTool extends LuceneTestCase {this.failOnRollback = failOnRollback;}- @Overridepublic void prepareCommit() throws IOException {prepareCommit(null);}- @Overridepublic void prepareCommit(Map<String, String> commitData) throws IOException {this.prepareCommitData = commitData;assertFalse("commit should not have been called before all prepareCommit were", commitCalled);@@ -54,12 +52,10 @@ public class TestTwoPhaseCommitTool extends LuceneTestCase {}}- @Overridepublic void commit() throws IOException {commit(null);}- @Overridepublic void commit(Map<String, String> commitData) throws IOException {this.commitData = commitData;commitCalled = true;@@ -68,7 +64,6 @@ public class TestTwoPhaseCommitTool extends LuceneTestCase {}}- @Overridepublic void rollback() throws IOException {rollbackCalled = true;if (failOnRollback) {