Author: dallen6
Date: 2009-03-13 13:32:21 -0400 (Fri, 13 Mar 2009)
New Revision: 1979
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/event/ObserverImpl.java
Log:
Finished EJB lifecycle tests that can work w/current RI
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/event/ObserverImpl.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/event/ObserverImpl.java 2009-03-13
16:04:22 UTC (rev 1978)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/event/ObserverImpl.java 2009-03-13
17:32:21 UTC (rev 1979)
@@ -123,7 +123,7 @@
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.