Skip to content
New issue

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

equals(Object obj)" and "hashCode()" should be overridden in pairs #403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

equals(Object obj)" and "hashCode()" should be overridden in pairs #403

wants to merge 1 commit into from

Conversation

AymanDF
Copy link

@AymanDF AymanDF commented Feb 9, 2016

This pull request is focused on resolving occurrences of Sonar rule squid:S1206 - “ equals(Object obj)" and "hashCode()" should be overridden in pairs ”. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S1206
Please let me know if you have any questions.
Ayman Abdelghany.

@angelozerr
Copy link
Owner

@piotrtomiak is it OK for you?

1 similar comment
@angelozerr
Copy link
Owner

@piotrtomiak is it OK for you?

@piotrtomiak
Copy link
Contributor

Sorry, forgot to reply for the first time. Basically, if one cares about overriding hash code method, it should work the same as equals method: a.equals(b) == ( a.hashCode() == b.hashCode()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants