Duh -- my bad, sorry.  I'll fix.

Mike

Uwe Schindler wrote:

I got the following when compiling trunk tests, updated a few minutes ago:

common.compile-test:
   [mkdir] Created dir: C:\Projects\lucene\trunk\build\classes\test
   [javac] Compiling 185 source files to
C:\Projects\lucene\trunk\build\classes
\test
   [javac]
C:\Projects\lucene\trunk\src\test\org\apache\lucene\search\TestSort.
java:450:
newComparator(java.lang.String,org.apache.lucene.index.IndexReader[],i
nt,int,boolean) in org.apache.lucene.search.TestSort.MyFieldComparatorSource
can
not override
newComparator(java.lang.String,org.apache.lucene.index.IndexReader[
],int,int,boolean) in org.apache.lucene.search.FieldComparatorSource;
attempting
to assign weaker access privileges; was public
   [javac]     FieldComparator newComparator(String fieldname,
IndexReader[] su
bReaders, int numHits, int sortPos, boolean reversed) {
   [javac]                     ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] 1 error

BUILD FAILED

Seems to have to do something with the last commit about the comparators by
Mike, the test must now also be public.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to