fix introduced failures having to do with removing the call to internal helper method #toNoNullStringArray()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-04-10 15:59:07 +00:00
parent 880c74f3a3
commit 8d01b77e2e
1 changed files with 2 additions and 1 deletions

View File

@ -648,7 +648,8 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
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;