It was not the generics change, it was a bug in the comparator. There was one getTerm() missing. I'll add.
The compile found the error, because of generics, the signature didn't match correct (in 1.4 it was just Object without a generics hint, now its Object and Term, but InstantiatedTerm does not match). Committed revision: 826011 ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Uwe Schindler [mailto:[email protected]] > Sent: Friday, October 16, 2009 7:10 PM > To: [email protected] > Subject: RE: ant build-contrib fails on trunk? > > I'll fix, this is because of generics and compareTo(). I revert the > change. > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > > > -----Original Message----- > > From: Michael McCandless [mailto:[email protected]] > > Sent: Friday, October 16, 2009 7:01 PM > > To: [email protected] > > Subject: ant build-contrib fails on trunk? > > > > When I run ant build-contrib on current trunk, I hit this: > > > > compile-core: > > [javac] Compiling 1 source file to > > /lucene/tmp2/build/contrib/instantiated/classes/java > > [javac] > > > /lucene/tmp2/contrib/instantiated/src/java/org/apache/lucene/store/instant > > iated/InstantiatedTermDocumentInformation.java:48: > > compareTo(org.apache.lucene.index.Term) in > > org.apache.lucene.index.Term cannot be applied to > > (org.apache.lucene.store.instantiated.InstantiatedTerm) > > [javac] return > > > instantiatedTermDocumentInformation.getTerm().getTerm().compareTo(instanti > > atedTermDocumentInformation1.getTerm()); > > [javac] ^ > > [javac] 1 error > > > > > > Is anyone else seeing this? > > > > Mike > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
