[jboss-cvs] JBossAS SVN: r94691 - projects/interceptors/trunk/jboss-interceptor/src/main/java/org/jboss/interceptor/model.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 12 14:22:22 EDT 2009


Author: marius.bogoevici
Date: 2009-10-12 14:22:21 -0400 (Mon, 12 Oct 2009)
New Revision: 94691

Modified:
   projects/interceptors/trunk/jboss-interceptor/src/main/java/org/jboss/interceptor/model/InterceptionModelImpl.java
Log:
Minor corrections


Modified: projects/interceptors/trunk/jboss-interceptor/src/main/java/org/jboss/interceptor/model/InterceptionModelImpl.java
===================================================================
--- projects/interceptors/trunk/jboss-interceptor/src/main/java/org/jboss/interceptor/model/InterceptionModelImpl.java	2009-10-12 17:34:46 UTC (rev 94690)
+++ projects/interceptors/trunk/jboss-interceptor/src/main/java/org/jboss/interceptor/model/InterceptionModelImpl.java	2009-10-12 18:22:21 UTC (rev 94691)
@@ -44,7 +44,7 @@
    public List<I> getInterceptors(InterceptionType interceptionType, Method method)
    {
       if (interceptionType.isLifecycleCallback() && method != null)
-         throw new IllegalArgumentException("On a lifecycle callback, associated metod must be null");
+         throw new IllegalArgumentException("On a lifecycle callback, the associated method must be null");
 
       if (!interceptionType.isLifecycleCallback() && method == null)
          throw new IllegalArgumentException("Around-invoke and around-timeout interceptors are defined for a given method");




More information about the jboss-cvs-commits mailing list