Skip to content

Commit

Permalink
Minor cleanup...fixed test assertion and removed code not needed in d…
Browse files Browse the repository at this point in the history
…eployer.

git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@3136 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
drallen committed Jul 22, 2009
1 parent dffe514 commit 4c16e33
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -167,15 +167,8 @@ protected void createObserverMethod(RIBean<?> declaringBean, WBMethod<?> method)
{
ObserverMethodImpl<?, ?> observer = ObserverFactory.create(method, declaringBean, manager);
environment.getObservers().add(observer);
//TODO Not sure how to create the templated event without any type information here
//fireProcessObserverMethod(observer, method);
}

private <X, T> void fireProcessObserverMethod(final ObserverMethodImpl<X, T> observerMethod, final AnnotatedMethod<X> method)
{
manager.fireEvent(new ProcessObserverMethodImpl<X, T>(method, observerMethod, definitionErrors));
}

protected <T> void createSimpleBean(WBClass<T> annotatedClass)
{
SimpleBean<T> bean = SimpleBean.of(annotatedClass, manager);
Expand Down

0 comments on commit 4c16e33

Please sign in to comment.