From 07c1324202bfa5a60de6ab41777186d0050e3cd7 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 21 Mar 2009 01:00:21 +0000 Subject: [PATCH] Generic fix git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756852 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/ArrayUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/ArrayUtils.java b/src/java/org/apache/commons/lang/ArrayUtils.java index 00d83218d..e83281fe0 100644 --- a/src/java/org/apache/commons/lang/ArrayUtils.java +++ b/src/java/org/apache/commons/lang/ArrayUtils.java @@ -241,7 +241,7 @@ public class ArrayUtils { for (int i = 0; i < array.length; i++) { Object object = array[i]; if (object instanceof Map.Entry) { - Map.Entry entry = (Map.Entry) object; + Map.Entry entry = (Map.Entry) object; map.put(entry.getKey(), entry.getValue()); } else if (object instanceof Object[]) { Object[] entry = (Object[]) object;