rspec/rules/S1206/java/rule.adoc
2021-10-28 10:07:16 +02:00

26 lines
634 B
Plaintext

include::../description.adoc[]
include::../noncompliant.adoc[]
include::../compliant.adoc[]
== See
* https://cwe.mitre.org/data/definitions/581.html[MITRE, CWE-581] - Object Model Violation: Just One of Equals and Hashcode Defined
* https://wiki.sei.cmu.edu/confluence/x/7DVGBQ[CERT, MET09-J.] - Classes that define an equals() method must also define a hashCode() method
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]