Changes between Version 12 and Version 13 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2010-09-18T22:50:51+02:00 (14 years ago)
Author:
stoecker
Comment:

Fix old hints

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v12 v13  
    33== How your code should look like ==
    44
    5  * make sure the code is Java 1.5 compatible
    6    * no {{{@Override}}} for methods for implemented interfaces
     5 * make sure the code is Java 1.6 compatible
    76 * make sure there is no trailing white space
    87 * don't use multiple consecutive empty lines
     8 * JOSM uses 4 characters indentation and no tab stops
    99 * Document your code '''thoroughly'''. Many people will thank you :)
    1010
     
    5151 * When using apostrophe, the following rules apply:
    5252   
    53    For simple strings without substitution you need not change anything:
    54 
    55    {{{new JButton(tr("Don't press me!"))}}}
    56 
    57    For {{{tr}}} with more than one parameter, the apostrophe is special. (Like backslash in C)[[BR]]
     53   For all {{{tr}}} the apostrophe is special. (Like backslash in C)[[BR]]
    5854   It needs to be escaped by another apostrophe:
    5955