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

Use an enum with features, instead of separate methods #4

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

EqualsVerifier has a lot of methods to enable/disable certain features,
such as #allowMutableFields() and #fieldsAreNeverNull().

Code might be cleaner if these features are put in an enum, so they can be
selected by adding them to an EnumSet.

Original issue reported on code.google.com by [email protected] on 29 Jun 2009 at 2:51

@GoogleCodeExporter
Copy link
Author

Only #withRedefinedSubclass() is still its own method, since it needs to accept 
a
parameter as well.

Original comment by [email protected] on 3 Jul 2009 at 12:44

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

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