commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r965941 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
Date Tue, 20 Jul 2010 18:10:34 GMT
Author: bayard
Date: Tue Jul 20 18:10:34 2010
New Revision: 965941

URL: http://svn.apache.org/viewvc?rev=965941&view=rev
Log:
Fixing the pass along of compareTransients to the reflectionCompare method as identified by
Robert Radkiewicz in LANG-635

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java?rev=965941&r1=965940&r2=965941&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
Tue Jul 20 18:10:34 2010
@@ -271,7 +271,7 @@ public class CompareToBuilder implements
     public static int reflectionCompare(Object lhs, Object rhs, boolean compareTransients,

                                         Class<?> reflectUpToClass) 
     {
-        return reflectionCompare(lhs, rhs, false, reflectUpToClass, null);
+        return reflectionCompare(lhs, rhs, compareTransients, reflectUpToClass, null);
     }
 
     /**



Mime
View raw message