commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Radkiewicz (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-635) CompareToBuilder.reflectionCompare(Object lhs, Object rhs, boolean compareTransients, Class reflectUpToClass) ignores third parameter
Date Tue, 20 Jul 2010 10:03:51 GMT
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


The parameter "compareTransients" is ignored and false is always used, as a short look in
the code shows:

{quote}
public static int reflectionCompare(Object lhs, Object rhs, boolean compareTransients, 
                                        Class reflectUpToClass) 
{
    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.


Mime
View raw message