commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r1056843 - /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java
Date Sun, 09 Jan 2011 00:29:02 GMT
Author: niallp
Date: Sun Jan  9 00:29:01 2011
New Revision: 1056843

URL: http://svn.apache.org/viewvc?rev=1056843&view=rev
Log:
Port LANG-635 to LANG 2.x Branch - fixing the pass along of compareTransients to the reflectionCompare
method as identified by Robert Radkiewicz

Modified:
    commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java

Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java?rev=1056843&r1=1056842&r2=1056843&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/CompareToBuilder.java
Sun Jan  9 00:29:01 2011
@@ -272,7 +272,7 @@ public class CompareToBuilder {
     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