Re: [josm-dev] r4188 - removal of debug code

2011-08-21 Thread Stefan Breunig
> I'd have a really hard time believing that the JVM can't optimize stuff > like this: and right you are; http://stackoverflow.com/questions/1813853/ifdef-ifndef-in-java/1813871#1813871 It's compiled out, even if the main function isn't static. If you are in doubt, just javap -c at the class fil

Re: [josm-dev] Strange re-use of nodes

2011-08-21 Thread Frederik Ramm
Hi, are strange. In the first changeset, a roundabout is drawn with much more detail than usual, and the nodes used for that are all "version 2" - and version 1 of the node is somewhere far away, sometimes in Africa. Strangely this does not have an adverse effect on the original place, probably

Re: [josm-dev] r4188 - removal of debug code

2011-08-21 Thread Dirk Stöcker
On Sun, 21 Aug 2011, Stefan Breunig wrote: I'd have a really hard time believing that the JVM can't optimize stuff like this: and right you are; http://stackoverflow.com/questions/1813853/ifdef-ifndef-in-java/1813871#1813871 It's compiled out, even if the main function isn't static. If you ar

Re: [josm-dev] r4188 - removal of debug code

2011-08-21 Thread Paul Hartmann
On 08/21/2011 02:21 PM, Dirk Stöcker wrote: > On Sun, 21 Aug 2011, Stefan Breunig wrote: > >>> I'd have a really hard time believing that the JVM can't optimize stuff >>> like this: >> >> and right you are; >> http://stackoverflow.com/questions/1813853/ifdef-ifndef-in-java/1813871#1813871 >> >> >>

Re: [josm-dev] r4188 - removal of debug code

2011-08-21 Thread Dirk Stöcker
On Sun, 21 Aug 2011, Paul Hartmann wrote: P.S. I'm even one of the few people not using IDE's at all, as I learned programming before graphical-all-in-one-interfaces became available. Which on the other hand means I still can work from 80x25 ASCII remote terminals without any problems. Now I k