...
A related error can arise when a programmer declares a static final
reference to a mutable object; see guideline "VOID OBJ02-J. Never conflate immutability of a reference with that of the referenced object" for additional information.
...
Wiki Markup |
---|
According to [§13.4.9, "{{final}} Fields and Constants," |http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#13.4.9] of the _Java Language Specification_ \[[JLS 2005|AA. References#JLS 05]\], |
...
Wiki Markup |
---|
*DCL04-EX1*: According to [§9.3, "Field (Constant) Declarations," |http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.3] of the _Java Language Specification_ \[[JLS 2005|AA. References#JLS 05]\], "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." |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2680809fa38bba2b-b58b0b69-47134c6c-a948b03c-d1e58233b6ffe9a9ea14f55c"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. References#JLS 05]] | [§13.4.9, "final Fields and Constants" | http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#13.4.9] | ]]></ac:plain-text-body></ac:structured-macro> |
| |||||
| |||||
|
...