Fixed.

The problem is that I normally use JDK 1.5, where this is legal.  Sorry.

Thanks for pointing this out,

Doug

Stefan Groschupf wrote:
+1
Can one of the people with commit rights please fix this.
Thanks a lot.
Stefan

Am 22.10.2005 um 00:21 schrieb Gal Nitzan:

Should be : |*
         // compute OPIC score contribution
float score = Float.parseFloat(parse.getData().get (Fetcher.SCORE_KEY));
*|
Gal Nitzan wrote:

hi,

broken code...

[javac] /home/gnitzan/mapred/src/java/org/apache/nutch/crawl/ ParseOutputFormat.java:69: incompatible types
   [javac] found   : java.lang.Float
   [javac] required: float
[javac] float score = Float.valueOf(parse.getData ().get(Fetcher.SCORE_KEY));
   [javac]                                      ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 1 error

regards,

gal


.









-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to