Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MITRE CWE: CWE-597 "Use of Wrong Operator in String Comparison"

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup

...

" ac:schema-version="1" ac:macro-id="3ab1c5ba-fae3-4542-8c3e-b6fce7f468b7"><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="30d11a33-a58b-4212-849e-fba61015dad1"><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>

 

§5.6.2, "Binary Numeric Promotion"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3e03f0cc-b62f-4977-8b0c-a35a7460c8b1"><ac:plain-text-body><![CDATA[

[[Rogue 2000

AA. Bibliography#Rogue 2000]]

Rule 79: Use equals(), not ==, to test for equality of objects

]]></ac:plain-text-body></ac:structured-macro>

...

      02. Expressions (EXP)      EXP02-J. Use the two-argument Arrays.equals() method to compare the contents of arrays