lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject JDK 1.5 in Analyzers
Date Fri, 07 Aug 2009 14:34:48 GMT
Looks like more 1.5 in contrib/analyzers, even though the smartcn  
build says 1.4:

compile-core:
     [mkdir] Created dir: /lucene/java/lucene-clean/build/contrib/ 
analyzers/smartcn/classes/java
     [javac] Compiling 18 source files to /lucene/java/lucene-clean/ 
build/contrib/analyzers/smartcn/classes/java
     [javac] /lucene/java/lucene-clean/contrib/analyzers/smartcn/src/ 
java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.java:94:  
hashCode() in java.lang.Object cannot be applied to (char[])
     [javac]     result = prime * result + Arrays.hashCode(charArray);
     [javac]                                     ^
     [javac] /lucene/java/lucene-clean/contrib/analyzers/smartcn/src/ 
java/org/apache/lucene/analysis/cn/smart/hhmm/SegToken.java:94:  
incompatible types
     [javac] found   : java.lang.String
     [javac] required: int
     [javac]     result = prime * result + Arrays.hashCode(charArray);
     [javac]                             ^
     [javac] /lucene/java/lucene-clean/contrib/analyzers/smartcn/src/ 
java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java:54:  
hashCode() in java.lang.Object cannot be applied to (char[])
     [javac]     result = prime * result + Arrays.hashCode(charArray);
     [javac]                                     ^
     [javac] /lucene/java/lucene-clean/contrib/analyzers/smartcn/src/ 
java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java:54:  
incompatible types
     [javac] found   : java.lang.String
     [javac] required: int
     [javac]     result = prime * result + Arrays.hashCode(charArray);
     [javac]                             ^
     [javac] Note: /lucene/java/lucene-clean/contrib/analyzers/smartcn/ 
src/java/org/apache/lucene/analysis/cn/SmartChineseAnalyzer.java uses  
or overrides a deprecated API.
     [javac] Note: Recompile with -deprecation for details.
     [javac] 4 errors


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message