lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r748150 - /lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java
Date Thu, 26 Feb 2009 13:46:55 GMT
Author: mikemccand
Date: Thu Feb 26 13:46:54 2009
New Revision: 748150

URL: http://svn.apache.org/viewvc?rev=748150&view=rev
Log:
fix make newComparator public in TestSort

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java?rev=748150&r1=748149&r2=748150&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/TestSort.java Thu Feb 26 13:46:54
2009
@@ -447,7 +447,7 @@
   }
 
   static class MyFieldComparatorSource extends FieldComparatorSource {
-    FieldComparator newComparator(String fieldname, IndexReader[] subReaders, int numHits,
int sortPos, boolean reversed) {
+    public FieldComparator newComparator(String fieldname, IndexReader[] subReaders, int
numHits, int sortPos, boolean reversed) {
       return new MyFieldComparator(numHits);
     }
   }



Mime
View raw message