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

Add check for unused fields #53

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

Add check for unused fields #53

GoogleCodeExporter opened this issue Mar 29, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

It would be awesome if EqualsVerifier could check for non-transient fields that 
are not used in the definition of "equals".  Frequently I use Eclipse to 
autogenerate equals/hashCode, but I might forget to re-generate after adding a 
new field.  

A suggested implementation and unit tests:

https://gist.github.com/1640709

https://gist.github.com/1640722

Original issue reported on code.google.com by pag...@gmail.com on 19 Jan 2012 at 10:50

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