You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2010/07/20 20:11:52 UTC

[jira] Closed: (LANG-635) CompareToBuilder.reflectionCompare(Object lhs, Object rhs, boolean compareTransients, Class reflectUpToClass) ignores third parameter

     [ https://issues.apache.org/jira/browse/LANG-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-635.
------------------------------

    Fix Version/s: 3.0
       Resolution: Fixed

Thanks Robert. I've fixed that line to pass the compareTransients along:


svn ci -m "Fixing the pass along of compareTransients to the reflectionCompare method as identified by Robert Radkiewicz in LANG-635"
Sending        src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
Transmitting file data .
Committed revision 965941.


> CompareToBuilder.reflectionCompare(Object lhs, Object rhs, boolean compareTransients, Class reflectUpToClass) ignores third parameter
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-635
>                 URL: https://issues.apache.org/jira/browse/LANG-635
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.builder.*
>    Affects Versions: 2.5
>            Reporter: Robert Radkiewicz
>            Priority: Minor
>             Fix For: 3.0
>
>
> The parameter "compareTransients" is ignored and false is always used, as a short look in the code shows:
> {quote}
>     return reflectionCompare(lhs, rhs, false, reflectUpToClass, null);
> {quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.