[OSM-dev] Applet now featuring ways

Immanuel Scholz immanuel.scholz at gmx.de
Mon Mar 20 06:52:49 GMT 2006


> cannot resolve symbol
>     [javac] symbol  : method valueOf (long)
>     [javac] location: class java.lang.Long
>     [javac]                     current = new
> Line((Node)nodes.get(Long.valueOf(line_from_id)),
> (Node)nodes.get(Long.valueOf(line_to_id)), id);
>     [javac]
> ^

HA! That's exactly what I feared. I HAVE to get an older Java version for
future hacking! ;-)
Long.valueOf and Character.valueOf are a Java5-function. What a bummer..

Well, fixed.

Ciao, Imi.

More information about the dev mailing list