harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r443240 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
Date Thu, 14 Sep 2006 05:21:47 GMT
Author: mloenko
Date: Wed Sep 13 22:21:47 2006
New Revision: 443240

URL: http://svn.apache.org/viewvc?view=rev&rev=443240
Log:
applying additional comment to HARMONY-1408
[classlib][beans] implementation of ProxyPersistenceDelegate

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java?view=diff&rev=443240&r1=443239&r2=443240
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/Statement.java
Wed Sep 13 22:21:47 2006
@@ -29,8 +29,6 @@
 import java.util.Comparator;
 import java.util.HashMap;
 import java.util.Vector;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
 
 import org.apache.harmony.beans.internal.nls.Messages;
 
@@ -133,7 +131,7 @@
 
                 result = method.invoke(null, ama);
             } else if (methodName.equals("newInstance") //$NON-NLS-1$
-                    && target instanceof Class && target == Array.class)
{
+                    && target == Array.class) {
                 Class<?> componentType = (Class) arguments[0];
                 int length = ((Integer) arguments[1]).intValue();
 



Mime
View raw message