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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Nov 16 06:44:39 EST 2008


Author: alesj
Date: 2008-11-16 06:44:39 -0500 (Sun, 16 Nov 2008)
New Revision: 81129

Modified:
   projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java
Log:
EnvPut should only be used when forceAnnotation is used - true failure.
As EnvPut is not a true 'commit'.

Modified: projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java	2008-11-16 11:37:18 UTC (rev 81128)
+++ projects/jboss-deployers/trunk/deployers-impl/src/main/java/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java	2008-11-16 11:44:39 UTC (rev 81129)
@@ -144,7 +144,7 @@
     */
    protected List<CommitElement> createCommitList()
    {
-      return checkSuper ? new ArrayList<CommitElement>() : new EnvPutList(env);
+      return forceAnnotations ? new EnvPutList(env) : new ArrayList<CommitElement>();
    }
 
    /**




More information about the jboss-cvs-commits mailing list