[jboss-cvs] JBossAS SVN: r68375 - projects/microcontainer/trunk/container/src/main/org/jboss/reflect/plugins/introspection.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 18 06:11:05 EST 2007


Author: alesj
Date: 2007-12-18 06:11:05 -0500 (Tue, 18 Dec 2007)
New Revision: 68375

Modified:
   projects/microcontainer/trunk/container/src/main/org/jboss/reflect/plugins/introspection/IntrospectionTypeInfoFactoryImpl.java
Log:
Removing test code.

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/reflect/plugins/introspection/IntrospectionTypeInfoFactoryImpl.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/reflect/plugins/introspection/IntrospectionTypeInfoFactoryImpl.java	2007-12-18 10:55:45 UTC (rev 68374)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/reflect/plugins/introspection/IntrospectionTypeInfoFactoryImpl.java	2007-12-18 11:11:05 UTC (rev 68375)
@@ -30,7 +30,6 @@
 import java.lang.reflect.ParameterizedType;
 import java.lang.reflect.Type;
 import java.lang.reflect.TypeVariable;
-import java.lang.reflect.WildcardType;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 import java.util.Collection;
@@ -356,8 +355,7 @@
    {
       Type compType = type.getGenericComponentType();
       TypeInfo componentType = getTypeInfo(compType);
-      ArrayInfoImpl result = new ArrayInfoImpl(componentType);
-      return result;
+      return new ArrayInfoImpl(componentType);
    }
 
    private TypeInfo resolveComplexTypeInfo(ClassLoader cl, String name)
@@ -469,8 +467,6 @@
 
    protected Method[] getDeclaredMethods(final Class clazz)
    {
-      if(clazz.getSimpleName().equals("ClassLoader") || clazz.isAssignableFrom(ClassLoader.class))
-         System.out.println("Saw ClassLoader class");
       if (System.getSecurityManager() == null)
          return clazz.getDeclaredMethods();
       else




More information about the jboss-cvs-commits mailing list