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:
parent
6cf9814780
commit
07c1324202
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue