lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1175455 - in /lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene: index/TestNRTManager.java search/TestSearcherManager.java
Date Sun, 25 Sep 2011 18:11:20 GMT
Author: uschindler
Date: Sun Sep 25 18:11:20 2011
New Revision: 1175455

URL: http://svn.apache.org/viewvc?rev=1175455&view=rev
Log:
More interface @Overrides

Modified:
    lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/index/TestNRTManager.java
    lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/search/TestSearcherManager.java

Modified: lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/index/TestNRTManager.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/index/TestNRTManager.java?rev=1175455&r1=1175454&r2=1175455&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/index/TestNRTManager.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/index/TestNRTManager.java
Sun Sep 25 18:11:20 2011
@@ -181,7 +181,7 @@ public class TestNRTManager extends Thre
 
     nrt = new NRTManager(writer, es,
                          new SearcherWarmer() {
-                           @Override
+                           // Not with Java 5: @Override
                            public void warm(IndexSearcher s) throws IOException {
                              TestNRTManager.this.warmCalled = true;
                              s.search(new TermQuery(new Term("body", "united")), 10);

Modified: lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/search/TestSearcherManager.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/search/TestSearcherManager.java?rev=1175455&r1=1175454&r2=1175455&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/search/TestSearcherManager.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/misc/src/test/org/apache/lucene/search/TestSearcherManager.java
Sun Sep 25 18:11:20 2011
@@ -47,7 +47,7 @@ public class TestSearcherManager extends
     writer.commit();
     mgr = new SearcherManager(dir,
                               new SearcherWarmer() {
-                                @Override
+                                // Not with Java 5: @Override
                                 public void warm(IndexSearcher s) throws IOException {
                                   TestSearcherManager.this.warmCalled = true;
                                   s.search(new TermQuery(new Term("body", "united")), 10);



Mime
View raw message