...
Related Guidelines
CWE -ID 595, "Comparison of Object References Instead of Object Contents" | |
| CWE -ID 597, "Use of Wrong Operator in String Comparison" |
The Elements of Java Style | Rule 79: Use |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="38afd79c38d28a25-ba0ffaa7-4f0a4e5a-a55da970-71cd8291f2cca56990a89c1a"><ac:plain-text-body><![CDATA[ | [[FindBugs 2008 | AA. Bibliography#FindBugs 08]] | ES: Comparison of String objects using == or != | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ee370f755e188167-688627fd-468a417b-94c5a4bd-6ad38c05f7b8f6a8c2bbc969"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [§3.10.5, "String Literals" | http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.5] | ]]></ac:plain-text-body></ac:structured-macro> |
|
...