Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09E086702 for ; Mon, 13 Jun 2011 19:29:12 +0000 (UTC) Received: (qmail 73513 invoked by uid 500); 13 Jun 2011 19:29:11 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 73506 invoked by uid 99); 13 Jun 2011 19:29:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 19:29:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 19:29:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C034C238897D; Mon, 13 Jun 2011 19:28:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@lucene.apache.org From: shaie@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110613192850.C034C238897D@eris.apache.org> 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 commitData) throws IOException { tpc.prepareCommit(this.commitData); } - @Override public void commit() throws IOException { commit(commitData); } - @Override public void commit(Map 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 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 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) {