LUCENE-3193: remove @override for interface method implementations

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135239 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2011-06-13 19:28:50 +00:00
parent e75ece66b8
commit a58aa65924
2 changed files with 0 additions and 10 deletions

View File

@ -44,27 +44,22 @@ public final class TwoPhaseCommitTool {
this.commitData = commitData;
}
@Override
public void prepareCommit() throws IOException {
prepareCommit(commitData);
}
@Override
public void prepareCommit(Map<String, String> commitData) throws IOException {
tpc.prepareCommit(this.commitData);
}
@Override
public void commit() throws IOException {
commit(commitData);
}
@Override
public void commit(Map<String, String> commitData) throws IOException {
tpc.commit(this.commitData);
}
@Override
public void rollback() throws IOException {
tpc.rollback();
}

View File

@ -40,12 +40,10 @@ public class TestTwoPhaseCommitTool extends LuceneTestCase {
this.failOnRollback = failOnRollback;
}
@Override
public void prepareCommit() throws IOException {
prepareCommit(null);
}
@Override
public 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 {
}
}
@Override
public void commit() throws IOException {
commit(null);
}
@Override
public void commit(Map<String, String> commitData) throws IOException {
this.commitData = commitData;
commitCalled = true;
@ -68,7 +64,6 @@ public class TestTwoPhaseCommitTool extends LuceneTestCase {
}
}
@Override
public void rollback() throws IOException {
rollbackCalled = true;
if (failOnRollback) {