Skip to content

Commit

Permalink
Fixes for implicit event beans and related tests.
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2368 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
drallen committed Apr 9, 2009
1 parent d356d0b commit 0b6e77e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impl/src/main/java/org/jboss/webbeans/FacadeImpl.java
Expand Up @@ -84,8 +84,8 @@ protected Annotation[] mergeInBindings(Annotation... newBindings)
{
throw new DuplicateBindingTypeException(newAnnotation + " is already present in the bindings list for " + this);
}
result.add(newAnnotation)
; }
result.add(newAnnotation);
}
return result.toArray(EMPTY_BINDINGS);
}

Expand Down
2 changes: 2 additions & 0 deletions impl/src/main/java/org/jboss/webbeans/event/EventImpl.java
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -58,6 +59,7 @@ public static <E> Event<E> of(Type eventType, ManagerImpl manager, Set<Annotatio
public EventImpl(Type eventType, ManagerImpl manager, Set<Annotation> bindings)
{
super(eventType, manager, bindings);
this.bindings.remove(new FiresLiteral());
}

/**
Expand Down

0 comments on commit 0b6e77e

Please sign in to comment.