Versions Compared

Key

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

...

Related Guidelines

MITRE CWE

CWE ID -581, "Object Model Violation: Just One of Equals and Hashcode Defined"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="31ff9a2946ec24ef-fcc08294-4a2240b5-b8a89b82-88e249df98c18a1b78171ed9"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[Class Object

http://java.sun.com/javase/6/docs/api/java/lang/Object.html]

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8a6a0cc2dd5c7dce-9f7d0737-463549a2-b1d683a5-2a7f8812590a82f7e9eae673"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Item 9: Always override hashCode when you override equals

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

...