mirror of https://github.com/apache/lucene.git
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:
parent
e75ece66b8
commit
a58aa65924
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue