[jboss-cvs] JBossAS SVN: r74346 - projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/structure/ear/support.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 10 05:38:05 EDT 2008


Author: alesj
Date: 2008-06-10 05:38:05 -0400 (Tue, 10 Jun 2008)
New Revision: 74346

Modified:
   projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java
Log:
Use deployment units annotation class.

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java	2008-06-10 09:19:42 UTC (rev 74345)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/tests/org/jboss/test/deployers/vfs/structure/ear/support/MockEarStructureDeployer.java	2008-06-10 09:38:05 UTC (rev 74346)
@@ -352,7 +352,7 @@
 
    private Integer getType(AnnotationEnvironment env, Class<? extends Annotation> annotation, int type)
    {
-      return (env.hasClassAnnotatedWith(annotation)) ? type : null;
+      return (env.hasClassAnnotatedWith(annotation.getName())) ? type : null;
    }
 
    private String earRelativePath(String earPath, String pathName)




More information about the jboss-cvs-commits mailing list