...
Use reference equality to determine whether two references point to the same object.
Related Guidelines
CWE-595, Comparison of object references instead of object contents | |
Rule 79, Use |
Bibliography
[Bloch 2008] | Item 69, "Prefer Concurrence Utilities to wait and notify " |
ES: , "Comparison of String Objects Using | |
[JLS 2011] | §3.10.5, "String Literals" |
...