You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2012/03/09 09:50:32 UTC

svn commit: r1298753 - in /lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util: StoreClassNameRule.java UncaughtExceptionsRule.java

Author: dweiss
Date: Fri Mar  9 08:50:32 2012
New Revision: 1298753

URL: http://svn.apache.org/viewvc?rev=1298753&view=rev
Log:
@Override on interfaces.

Modified:
    lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/StoreClassNameRule.java
    lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/UncaughtExceptionsRule.java

Modified: lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/StoreClassNameRule.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/StoreClassNameRule.java?rev=1298753&r1=1298752&r2=1298753&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/StoreClassNameRule.java (original)
+++ lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/StoreClassNameRule.java Fri Mar  9 08:50:32 2012
@@ -7,14 +7,12 @@ import org.junit.runners.model.Statement
 public class StoreClassNameRule implements TestRule {
   private volatile Class<?> testClass;
 
-  @Override
   public Statement apply(final Statement s, final Description d) {
     if (!d.isSuite()) {
       throw new IllegalArgumentException("This is a @ClassRule (applies to suites only).");
     }
 
     return new Statement() {
-      @Override
       public void evaluate() throws Throwable {
         try {
           testClass = d.getTestClass();

Modified: lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/UncaughtExceptionsRule.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/UncaughtExceptionsRule.java?rev=1298753&r1=1298752&r2=1298753&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/UncaughtExceptionsRule.java (original)
+++ lucene/dev/branches/branch_3x/lucene/test-framework/src/java/org/apache/lucene/util/UncaughtExceptionsRule.java Fri Mar  9 08:50:32 2012
@@ -41,7 +41,6 @@ public class UncaughtExceptionsRule impl
   // Lock on uncaughtExceptions to access.
   private final List<UncaughtExceptionEntry> uncaughtExceptions = new ArrayList<UncaughtExceptionEntry>();
 
-  @Override
   public Statement apply(final Statement s, final Description d) {
     return new Statement() {
       public void evaluate() throws Throwable {