[jboss-cvs] JBossAS SVN: r63942 - projects/microcontainer/trunk/container/src/tests/org/jboss/test/classinfo/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jul 10 10:40:49 EDT 2007


Author: kabir.khan at jboss.com
Date: 2007-07-10 10:40:49 -0400 (Tue, 10 Jul 2007)
New Revision: 63942

Modified:
   projects/microcontainer/trunk/container/src/tests/org/jboss/test/classinfo/test/AnnotatedClassInfoTest.java
Log:
[JBMICROCONT-124] Get rid of code that should not have been commited

Modified: projects/microcontainer/trunk/container/src/tests/org/jboss/test/classinfo/test/AnnotatedClassInfoTest.java
===================================================================
--- projects/microcontainer/trunk/container/src/tests/org/jboss/test/classinfo/test/AnnotatedClassInfoTest.java	2007-07-10 14:37:26 UTC (rev 63941)
+++ projects/microcontainer/trunk/container/src/tests/org/jboss/test/classinfo/test/AnnotatedClassInfoTest.java	2007-07-10 14:40:49 UTC (rev 63942)
@@ -187,21 +187,13 @@
       }
       
       assertTrue("Not found annotations " + set, set.isEmpty());
-
-      java.lang.reflect.Constructor ctorx = AnnotatedSubClass.class.getConstructors()[0];
-      java.lang.annotation.Annotation[] anns = ctorx.getAnnotations();
-      for (int i = 0 ; i < anns.length ; i++)
-      {
-         System.out.println("==============> " + anns[i].annotationType() + " XXXX");
-      }
-      
+     
       ConstructorInfo[] ctors = info.getDeclaredConstructors();
       assertEquals(1, ctors.length);
       ConstructorInfo ctor = ctors[0];
       annotations = ctor.getAnnotations();
       assertEquals(1, annotations.length);
       anotherAnnotation = getAnnotationCheckTypeAndName(ctor, AnotherAnnotation.class.getName());
-      
    }
    
    public void testClassArrayAnnotations() throws Exception




More information about the jboss-cvs-commits mailing list