Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The current implementation of EqualsBuilder.reflectionEquals() uses object equality to test reference fields found in the class. It may be helpful to offer a method that recursively builds .equals() methods for each field and uses that to perform the comparison.
This functionality could be further extended by accepting a list of classes to include/exclude. Classes that are excluded would use the normal object equality.
Attachments
Attachments
Issue Links
- links to