diff --git a/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java b/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java index da2aa1d0c..ff3dbd647 100644 --- a/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java +++ b/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java @@ -104,7 +104,7 @@ import org.apache.commons.lang.ClassUtils; * @author Stephen Colebourne * @author Pete Gieser * @since 2.0 - * @version $Id: ReflectionToStringBuilder.java,v 1.12 2003/10/23 22:25:16 ggregory Exp $ + * @version $Id: ReflectionToStringBuilder.java,v 1.13 2003/10/23 22:27:45 ggregory Exp $ */ public class ReflectionToStringBuilder extends ToStringBuilder { @@ -354,8 +354,6 @@ public class ReflectionToStringBuilder extends ToStringBuilder { *
The default ToStringStyle
is used.
null
* @return the String result
* @throws IllegalArgumentException if the Object is null
*/
@@ -418,8 +416,8 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
* @return the String result
* @throws IllegalArgumentException if the Object is null
*/
- public static Object toStringWithStatics(Object object, ToStringStyle toStringStyle, Class reflectUpToClass) {
- return toString(object, toStringStyle, false, true, reflectUpToClass);
+ public static Object toStringWithStatics(Object object, ToStringStyle style, Class reflectUpToClass) {
+ return toString(object, style, false, true, reflectUpToClass);
}
/**