Changes between Version 27 and Version 28 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2016-01-18T17:06:51+01:00 (10 years ago)
Author:
kolesar
Comment:

using curly brackets after if

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v27 v28  
    99 * JOSM uses 4 characters indentation and no tab stops (If you use Notepad++ you can change the default indentation in the "Preferences" -> "Tab Settings" -> check "Replace by spaces" (this is permanent) or with the "change indentation settings" button in the toolbar by removing the check at "use tabs" (this is a temopary setting).)
    1010 * Document your code '''thoroughly'''. Many people will thank you :)
     11 * add curly brackets for each {{{if}}}, unless it is followed by {{{return}}} (or maybe {{{throw}}})
    1112
    1213== How your javadoc should look like ==