[jboss-cvs] JBossAS SVN: r60466 - projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 9 13:31:29 EST 2007


Author: flavia.rainone at jboss.com
Date: 2007-02-09 13:31:28 -0500 (Fri, 09 Feb 2007)
New Revision: 60466

Modified:
   projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/CallerInvocation.java
   projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/ConstructorInvocation.java
   projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java
Log:
[JBAOP-352] Added non-null constraint to get/setArguments() documentation.

Modified: projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/CallerInvocation.java
===================================================================
--- projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/CallerInvocation.java	2007-02-09 18:13:42 UTC (rev 60465)
+++ projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/CallerInvocation.java	2007-02-09 18:31:28 UTC (rev 60466)
@@ -60,7 +60,7 @@
    }
    
    /**
-    * Returns an array containing all call arguments.
+    * Returns a non-null array containing all call arguments.
     * <p>
     * The returned array can be changed by the advice or interceptor accordingly. All
     * changes are reflected on joinpoint execution, and are noticed as well by
@@ -88,7 +88,7 @@
     * are forbidden. Otherwise, inconsistency on joinpoint argument values may be
     * noticed. 
     *  
-    * @param arguments an array containing the new values of call arguments.
+    * @param arguments a non-null array containing the new values of call arguments.
     *                  The size of this array must be the same as the one of 
     *                  {@link #getArguments()}, as well as the element types.
     */

Modified: projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/ConstructorInvocation.java
===================================================================
--- projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/ConstructorInvocation.java	2007-02-09 18:13:42 UTC (rev 60465)
+++ projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/ConstructorInvocation.java	2007-02-09 18:31:28 UTC (rev 60466)
@@ -190,7 +190,7 @@
    }
 
    /**
-    * Returns an array containing all constructor arguments.
+    * Returns a non-null array containing all constructor arguments.
     * <p>
     * The returned array can be changed by the advice or interceptor accordingly. All
     * changes are reflected on joinpoint execution, and are noticed as well by
@@ -218,9 +218,9 @@
     * are forbidden. Otherwise, inconsistency on joinpoint argument values may be
     * noticed. 
     *  
-    * @param arguments an array containing the new values of constructor arguments.
-    *                  The size of this array must be the same as the one of 
-    *                  {@link #getArguments()}, as well as the element types.
+    * @param arguments a non-null array containing the new values of constructor
+    *                  arguments. The size of this array must be the same as the one
+    *                  of {@link #getArguments()}, as well as the element types.
     */
    public void setArguments(Object[] arguments)
    {

Modified: projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java
===================================================================
--- projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java	2007-02-09 18:13:42 UTC (rev 60465)
+++ projects/aop/trunk/aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java	2007-02-09 18:31:28 UTC (rev 60466)
@@ -267,7 +267,7 @@
    }
 
    /**
-    * Returns an array containing all method arguments.
+    * Returns a non-null array containing all method arguments.
     * <p>
     * The returned array can be changed by the advice or interceptor accordingly. All
     * changes are reflected on joinpoint execution, and are noticed as well by
@@ -311,7 +311,7 @@
     * are forbidden. Otherwise, inconsistency on joinpoint argument values may be
     * noticed. 
     *  
-    * @param arguments an array containing the new values of method arguments.
+    * @param arguments a non-null array containing the new values of method arguments.
     *                  The size of this array must be the same as the one of 
     *                  {@link #getArguments()}, as well as the element types.
     */




More information about the jboss-cvs-commits mailing list