Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: grammar fixes, linked to JLS sections, used Section and Pi chars

...

However, if a developer changes the value of VERSION to 2 by modifying Foo.java and recompiles Foo.java, but fails to recompile Bar.java the software incorrectly prints:

...

Wiki Markup
According to the Java Language Specification \[[JLS 2005|AA. Bibliography#JLS 05]\], Section 13§13.4.9, "{{final}} Fields and Constants"

...

Wiki Markup
*DCL04-EX0*: According to the Java Language Specification \[[JLS 2005|AA. Bibliography#JLS 05]\], Section 9§9.3 "Field (Constant) Declarations," "Every field declaration in the body of an interface is implicitly {{public}}, {{static}}, and {{final}}. It is permitted to redundantly specify any or all of these modifiers for such fields."

...

Wiki Markup
\[[JLS 2005|AA. Bibliography#JLS 05]\] "13[§13.4.9|http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#13.4.9] "final Fields and Constants", "9.3 [§9.3|http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.3] "Field (Constant) Declarations", "4.[§4.12.4|http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.12.4] "final Variables", "8[§8.3.1.1|http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.3.1.1] static Fields"

...

DCL03-J. Properly encode relationships in constant definitions      03. Declarations and Initialization (DCL)      DCL05-J. Do not attempt to assign to the loop variable in an enhanced for loop