Author: mbenson
Date: Sun Apr 10 15:59:07 2011
New Revision: 1090821
URL: http://svn.apache.org/viewvc?rev=1090821&view=rev
Log:
fix introduced failures having to do with removing the call to internal helper
method #toNoNullStringArray()
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java?rev=1090821&r1=1090820&r2=1090821&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
Sun Apr 10 15:59:07 2011
@@ -648,7 +648,8 @@ public class ReflectionToStringBuilder e
if (excludeFieldNamesParam == null) {
this.excludeFieldNames = null;
} else {
- this.excludeFieldNames = excludeFieldNamesParam.clone();
+ //clone and remove nulls
+ this.excludeFieldNames =
toNoNullStringArray(excludeFieldNamesParam);
Arrays.sort(this.excludeFieldNames);
}
return this;