We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While working on #340 (comment), I observed numerous instances where equals is overwritten, but not hashCode.
equals
hashCode
The status quo breaks hashCode's contract as discussed in https://stackoverflow.com/questions/2265503/why-do-i-need-to-override-the-equals-and-hashcode-methods-in-java.
N/A
There's at least 2 solutions:
The text was updated successfully, but these errors were encountered:
For the good first issue, implementing the first part of this would be helpful:
good first issue
Sorry, something went wrong.
No branches or pull requests
Subject of the issue
While working on #340 (comment), I observed numerous instances where
equals
is overwritten, but nothashCode
.The status quo breaks
hashCode
's contract as discussed in https://stackoverflow.com/questions/2265503/why-do-i-need-to-override-the-equals-and-hashcode-methods-in-java.Your environment
N/A
Steps to reproduce
N/A
Expected behaviour
There's at least 2 solutions:
hashCode
andequals
. Prefer using an IDE-generated implementation.equals
andhashCode
implementations.Actual behaviour
N/A
Acceptance Criteria
The text was updated successfully, but these errors were encountered: