[jboss-cvs] JBossAS SVN: r72895 - projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 30 07:55:01 EDT 2008


Author: alesj
Date: 2008-04-30 07:55:01 -0400 (Wed, 30 Apr 2008)
New Revision: 72895

Modified:
   projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/DefaultAnnotationEnvironment.java
Log:
Simple fixes #2.

Modified: projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/DefaultAnnotationEnvironment.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/DefaultAnnotationEnvironment.java	2008-04-30 11:54:11 UTC (rev 72894)
+++ projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/DefaultAnnotationEnvironment.java	2008-04-30 11:55:01 UTC (rev 72895)
@@ -173,6 +173,6 @@
 
    public <A extends Annotation> Set<Element<A, AccessibleObject>> classHasParameterAnnotatedWith(Class<A> annotation)
    {
-      return transformToElements(ElementType.CONSTRUCTOR, annotation, AccessibleObject.class);
+      return transformToElements(ElementType.PARAMETER, annotation, AccessibleObject.class);
    }
 }




More information about the jboss-cvs-commits mailing list