[webbeans-commits] Webbeans SVN: r2368 - in ri/trunk/impl/src/main/java/org/jboss/webbeans: event and 1 other directory.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Thu Apr 9 14:57:34 EDT 2009


Author: dallen6
Date: 2009-04-09 14:57:34 -0400 (Thu, 09 Apr 2009)
New Revision: 2368

Modified:
   ri/trunk/impl/src/main/java/org/jboss/webbeans/FacadeImpl.java
   ri/trunk/impl/src/main/java/org/jboss/webbeans/event/EventImpl.java
Log:
Fixes for implicit event beans and related tests.

Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/FacadeImpl.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/FacadeImpl.java	2009-04-09 18:41:41 UTC (rev 2367)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/FacadeImpl.java	2009-04-09 18:57:34 UTC (rev 2368)
@@ -84,8 +84,8 @@
          {
             throw new DuplicateBindingTypeException(newAnnotation + " is already present in the bindings list for " + this);
          }
-         result.add(newAnnotation)
-;      }
+         result.add(newAnnotation);
+      }
       return result.toArray(EMPTY_BINDINGS);
    }
 

Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/event/EventImpl.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/event/EventImpl.java	2009-04-09 18:41:41 UTC (rev 2367)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/event/EventImpl.java	2009-04-09 18:57:34 UTC (rev 2368)
@@ -27,6 +27,7 @@
 
 import org.jboss.webbeans.FacadeImpl;
 import org.jboss.webbeans.ManagerImpl;
+import org.jboss.webbeans.literal.FiresLiteral;
 import org.jboss.webbeans.util.Strings;
 
 /**
@@ -58,6 +59,7 @@
    public EventImpl(Type eventType, ManagerImpl manager, Set<Annotation> bindings)
    {
       super(eventType, manager, bindings);
+      this.bindings.remove(new FiresLiteral());
    }
 
    /**




More information about the weld-commits mailing list