From 731c0040fe325d143d2edc24606d20791c8e2748 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Tue, 20 Jul 2010 18:10:34 +0000 Subject: [PATCH] Fixing the pass along of compareTransients to the reflectionCompare method as identified by Robert Radkiewicz in LANG-635 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@965941 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/lang3/builder/CompareToBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java index 70fac50a2..02e2218e6 100644 --- a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java @@ -271,7 +271,7 @@ public class CompareToBuilder implements Builder { 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); } /**