Hi, Jiri Klement wrote: > OK, I've fixed that. Way is calling functions twice bad design? Is > OsmPrimitive supposed to be thread safe?
I'd say with all that encapsulation going on, you never know how much processing time is wasted when you call the function so better cache the result ;-) - tbh I don't know if the Java compiler does that automatically but Dirk is right it just hurts the (old-school) programmer's eye. Bye Frederik _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
