Skip to content

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.

4 participants