From e3d0e94e71f4cc2b824d6642939788ed75177e2b Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Wed, 9 Aug 2006 22:11:03 +0000 Subject: [PATCH] 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 --- .../apache/commons/lang/builder/ReflectionToStringBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java b/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java index 815413e9b..942f2bf91 100644 --- a/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java +++ b/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java @@ -833,7 +833,7 @@ public class ReflectionToStringBuilder extends ToStringBuilder { if (excludeFieldNamesParam == null) { this.excludeFieldNames = null; } else { - this.excludeFieldNames = (String[])toNoNullStringArray(excludeFieldNamesParam); + this.excludeFieldNames = toNoNullStringArray(excludeFieldNamesParam); Arrays.sort(this.excludeFieldNames); } return this;