commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1034) Recursive and reflective equals builder
Date Sun, 06 Nov 2016 18:49:58 GMT

    [ https://issues.apache.org/jira/browse/LANG-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15642226#comment-15642226
] 

ASF GitHub Bot commented on LANG-1034:
--------------------------------------

Github user coveralls commented on the issue:

    https://github.com/apache/commons-lang/pull/202
  
    
    [![Coverage Status](https://coveralls.io/builds/8691417/badge)](https://coveralls.io/builds/8691417)
    
    Coverage decreased (-0.007%) to 93.555% when pulling **2d6ce6ad6a1575c13da903e233bf21a0421f5352
on PascalSchumacher:recursiveAndReflectiveEqualsBuilder** into **05647d46e9ac2bf674b320e8467616aa72954f3e
on apache:master**.



> 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)

Mime
View raw message