harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r441355 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java
Date Fri, 08 Sep 2006 02:40:15 GMT
Author: ndbeyer
Date: Thu Sep  7 19:40:14 2006
New Revision: 441355

URL: http://svn.apache.org/viewvc?view=rev&rev=441355
Log:
Remove complier warnings; ambigous call to vararg-based method.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java?view=diff&rev=441355&r1=441354&r2=441355
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/lang/Enum.java
Thu Sep  7 19:40:14 2006
@@ -196,7 +196,7 @@
                             return valsMethod;
                         }
                     });
-            return (T[]) values.invoke(enumType, null);
+            return (T[]) values.invoke(enumType, (Object[])null);
         } catch (Exception e) {
             return null;
         }



Mime
View raw message