[josm-dev] Code style

Frederik Ramm frederik at remote.org
Wed Jul 29 11:00:19 BST 2009


Hi,

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

We generally use the

if (something) {
    something();
} else {
    something_else();
}

style. We don't normally re-format things we don't touch. However if 
someone does extensive work on a class, like in this example, I'd say 
they have a right to modify the code so that they feel comfortable with 
it ;-)

Bye
Frederik





More information about the josm-dev mailing list