commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r756852 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
Date Sat, 21 Mar 2009 01:00:21 GMT
Author: sebb
Date: Sat Mar 21 01:00:21 2009
New Revision: 756852

URL: http://svn.apache.org/viewvc?rev=756852&view=rev
Log:
Generic fix

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java?rev=756852&r1=756851&r2=756852&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java Sat Mar 21
01:00:21 2009
@@ -241,7 +241,7 @@
         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;



Mime
View raw message