lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject svn commit: r1135239 - in /lucene/dev/trunk/lucene/src: java/org/apache/lucene/util/TwoPhaseCommitTool.java test/org/apache/lucene/util/TestTwoPhaseCommitTool.java
Date Mon, 13 Jun 2011 19:28:50 GMT
Author: shaie
Date: Mon Jun 13 19:28:50 2011
New Revision: 1135239

URL: http://svn.apache.org/viewvc?rev=1135239&view=rev
Log:
LUCENE-3193: remove @override for interface method implementations

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java?rev=1135239&r1=1135238&r2=1135239&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/TwoPhaseCommitTool.java Mon Jun
13 19:28:50 2011
@@ -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();
     }

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java?rev=1135239&r1=1135238&r2=1135239&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/TestTwoPhaseCommitTool.java Mon
Jun 13 19:28:50 2011
@@ -40,12 +40,10 @@ public class TestTwoPhaseCommitTool exte
       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 exte
       }
     }
 
-    @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 exte
       }
     }
 
-    @Override
     public void rollback() throws IOException {
       rollbackCalled = true;
       if (failOnRollback) {



Mime
View raw message