...
Use reference equality to determine whether two references point to the same object.
Automated Detection
Coverity Prevent 5.0 | The BAD_EQ checker can detect instances where the |
ES: Comparison of String objects using == or != |
Related Guidelines
CWE ID 595, "Comparison of Object References Instead of Object Contents" | |
| CWE ID 597, "Use of Wrong Operator in String Comparison" |
Rule 79: Use |
...