[josm-dev] Code style

Sebastian Waschik sebastian.waschik at gmx.de
Wed Jul 29 10:41:17 BST 2009


Hello,

while writing patches (user plaicy) I like to follow the existing code
style.  Should the code follow for example the style guide by Sun [1]?

I ask because changeset 1865 confuses me.  In line 218 (r1865)
in GeoImageLayer braces are removed and in 329 they are added [2].

Greetings
Sebastian Waschik

PS: I only ask for patches not for rewriting the the whole code.

[1] http://java.sun.com/docs/codeconv/
[2] http://josm.openstreetmap.de/changeset/1865/trunk/src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java





More information about the josm-dev mailing list