Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarified auto detection

...

Automated detection of classes that override only one of equals() and hashcode() is straightforward. Sound static determination that the implementations of equals() and hashcode() are mutually consistent is not feasible in the general case. Heuristic , although heuristic techniques may be useful for the latter issueused.

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this guideline on the CERT website.

...