[
https://issues.apache.org/jira/browse/LANG-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15600066#comment-15600066
]
ASF GitHub Bot commented on LANG-1034:
--------------------------------------
Github user PascalSchumacher commented on the issue:
https://github.com/apache/commons-lang/pull/202
I haven't locked at this in-depth yet, but seems like a useful enhancement.
I would remove the support for including transient fields, because that
seems like a bad practice.
> Recursive and reflective equals builder
> ---------------------------------------
>
> Key: LANG-1034
> URL: https://issues.apache.org/jira/browse/LANG-1034
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.builder.*
> Reporter: Duncan Jones
> Assignee: Duncan Jones
> Fix For: Review Patch
>
> Attachments: LANG-1034.1.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)