Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: renumbered exceptions to be zero-based

...

Exceptions

Wiki Markup
*DCL04-EX1EX0*: According to the Java Language Specification \[[JLS 2005|AA. Bibliography#JLS 05]\], Section 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."

DCL04-EX2EX1: Constants declared using the enum type are permitted to violate this guideline.

DCL04-EX3EX2: Constants whose value never changes throughout the entire lifetime of the software may be declared as final. For instance, the JLS recommends that mathematical constants be declared final.

...