harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r451321 - in /incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing: TransferHandler.java UIDefaults.java
Date Fri, 29 Sep 2006 15:04:30 GMT
Author: tellison
Date: Fri Sep 29 08:04:29 2006
New Revision: 451321

URL: http://svn.apache.org/viewvc?view=rev&rev=451321
Log:
Fix minor compiler warnings.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/TransferHandler.java
    incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/UIDefaults.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/TransferHandler.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/TransferHandler.java?view=diff&rev=451321&r1=451320&r2=451321
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/TransferHandler.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/TransferHandler.java
Fri Sep 29 08:04:29 2006
@@ -106,7 +106,7 @@
 
             Method reader = descriptor.getReadMethod();
             try {
-                 value = reader.invoke(component, null);
+                 value = reader.invoke(component, (Object[])null);
             } catch (InvocationTargetException e) {
             } catch (IllegalAccessException e) {
             }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/UIDefaults.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/UIDefaults.java?view=diff&rev=451321&r1=451320&r2=451321
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/UIDefaults.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/UIDefaults.java
Fri Sep 29 08:04:29 2006
@@ -107,7 +107,7 @@
                         if (params == null) {
                             value = (methodName == null)
                                     ? classObj.newInstance()
-                                    : classObj.getMethod(methodName, null).invoke(null, null);
+                                    : classObj.getMethod(methodName, (Class[])null).invoke(null,
(Object[])null);
                         } else {
                             Class[] mParams = new Class[params.length];
                             for (int i = 0; i < mParams.length; i++) {



Mime
View raw message