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

Equalsverifier fails on enum #87

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 7 comments
Closed

Equalsverifier fails on enum #87

GoogleCodeExporter opened this issue Mar 29, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. implement an enum (without equals method)
2. run equalsverifier on it
3. you will get identical-copy and symmetry warning
4. you will need to use 
EqualsVerifier.forClass(myclass).withRedefinedSuperclass().suppress(Warning.IDEN
TICAL_COPY).verify();

I would expect equalsverifier to work out-of-the-box for enums that don't 
overwrite equals()

Original issue reported on code.google.com by sebidiet...@gmail.com on 8 Mar 2014 at 11:23

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

1 participant