Skip to content

Commit

Permalink
Finished EJB lifecycle tests that can work w/current RI
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@1979 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
drallen committed Mar 13, 2009
1 parent 37d908b commit 68e0653
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -123,7 +123,7 @@ private void checkObserverMethod()
List<AnnotatedParameter<?>> disposeParams = this.observerMethod.getAnnotatedParameters(Disposes.class);
if (disposeParams.size() > 0)
{
throw new DefinitionException(this + " cannot have any parameters annotated with @Dispose");
throw new DefinitionException(this + " cannot have any parameters annotated with @Disposes");
}
// Check annotations on the method to make sure this is not a producer
// method, initializer method, or destructor method.
Expand Down

0 comments on commit 68e0653

Please sign in to comment.