Generic fix

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2009-03-21 01:00:21 +00:00
parent 6cf9814780
commit 07c1324202
1 changed files with 1 additions and 1 deletions

View File

@ -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;