Unnecessary cast from String[] to String[]
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fdc82b0e01
commit
e3d0e94e71
|
@ -833,7 +833,7 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
|
||||||
if (excludeFieldNamesParam == null) {
|
if (excludeFieldNamesParam == null) {
|
||||||
this.excludeFieldNames = null;
|
this.excludeFieldNames = null;
|
||||||
} else {
|
} else {
|
||||||
this.excludeFieldNames = (String[])toNoNullStringArray(excludeFieldNamesParam);
|
this.excludeFieldNames = toNoNullStringArray(excludeFieldNamesParam);
|
||||||
Arrays.sort(this.excludeFieldNames);
|
Arrays.sort(this.excludeFieldNames);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue