Changes between Version 37 and Version 38 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2024-04-19T18:26:58+02:00 (15 months ago)
Author:
Klumbumbus
Comment:

Min. Java 8 -> 11, see #17858

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v37 v38  
    66== How your code should look like ==
    77
    8  * make sure the code is Java 8 compatible
     8 * make sure the code is Java 11 compatible
    99 * **Document** your code using inline comments and javadoc. Many people will thank you :)
    1010 * Try to avoid public fields
    1111 * JOSM has a lot of helper methods in the `Utils`, `GuiUtils`, `Geometry` ... classes. Use them if you need
    1212 * Check parameters. You can use `Objects.requireNonNull`.
    13  * Don't write for performance - write for readability. Use `Stream`s, `Function`s and other Java 8 features if they make the code more readable.
     13 * Don't write for performance - write for readability. Use `Stream`s, `Function`s and other Java 8+ features if they make the code more readable.
    1414
    1515=== Threading / Locking ===