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

hashCode violates contract in Version 0.7.1 #8

Closed
robertschaft opened this issue Dec 17, 2013 · 2 comments
Closed

hashCode violates contract in Version 0.7.1 #8

robertschaft opened this issue Dec 17, 2013 · 2 comments

Comments

@robertschaft
Copy link

Quote from http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#hashCode%28%29

If two objects are equal according to the equals(Object) method, then calling the
hashCode method on each of the two objects must produce the same integer result.

Because two versions are equal independent of their build metadata, the hashCode must not include the build metadata.

@ghost ghost assigned zafarkhaja Dec 21, 2013
@zafarkhaja
Copy link
Owner

Thank you very much for reporting. Fixed and scheduled for the next release 0.7.2 as of 591b183.

@zafarkhaja
Copy link
Owner

0.7.2 released. Thanks once again.

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

No branches or pull requests

2 participants