...
Wiki Markup |
---|
\[[JLS 05|AA. Java References#JLS 05]\] Sections 4.12.4 "final Variables" and 6.6, "Access Control" \[[Bloch 08|AA. Java References#Bloch 08]\] Item 13: Minimize the accessibility of classes and members \[[Core Java 04|AA. Java References#Core Java 04]\] Chapter 6 \[[MITRE 09|AA. Java References#MITRE 09]\] [CWE ID 607|http://cwe.mitre.org/data/definitions/607.html] "Public Static Final Field References Mutable Object" |
...
OBJ08OBJ00-J. Avoid using finalizersDeclare data members private 08. Object Orientation (OBJ) OBJ14OBJ02-J. Encapsulate the absence of an object by using a Null ObjectDo not ignore return values of methods that operate on immutable objects