lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1145326 - /lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java
Date Mon, 11 Jul 2011 20:17:53 GMT
Author: sarowe
Date: Mon Jul 11 20:17:53 2011
New Revision: 1145326

URL: http://svn.apache.org/viewvc?rev=1145326&view=rev
Log:
Drop @Override annotations not supported by Java 1.5

Modified:
    lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java

Modified: lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java?rev=1145326&r1=1145325&r2=1145326&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java
(original)
+++ lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/analysis/TestSynonymMap.java
Mon Jul 11 20:17:53 2011
@@ -271,7 +271,6 @@ public class TestSynonymMap extends Luce
     SlowSynonymFilterFactory ff = new SlowSynonymFilterFactory();
     ff.init(args);
     ff.inform( new ResourceLoader() {
-      @Override
       public List<String> getLines(String resource) throws IOException {
         if( !"something.txt".equals(resource) ) {
           throw new RuntimeException( "should not get a differnt resource" );
@@ -281,12 +280,10 @@ public class TestSynonymMap extends Luce
         return rules;
       }
 
-      @Override
       public Object newInstance(String cname, String... subpackages) {
         throw new RuntimeException("stub");
       }
 
-      @Override
       public InputStream openResource(String resource) throws IOException {
         throw new RuntimeException("stub");
       }



Mime
View raw message