[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/util ...

Manik Surtani msurtani at jboss.com
Sat Dec 30 21:08:41 EST 2006


  User: msurtani
  Date: 06/12/30 21:08:41

  Modified:    src-50/org/jboss/cache/pojo/util  MethodCall.java
  Log:
  Updates to tests to go along with changes in node methods
  
  Revision  Changes    Path
  1.3       +4 -3      JBossCache/src-50/org/jboss/cache/pojo/util/MethodCall.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodCall.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/util/MethodCall.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- MethodCall.java	31 Jul 2006 02:44:42 -0000	1.2
  +++ MethodCall.java	31 Dec 2006 02:08:41 -0000	1.3
  @@ -13,7 +13,7 @@
    * A special MethodCall object to wrap around the rollback method call. No Serializable is required.
    *
    * @author Ben Wang
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class MethodCall
   {
  @@ -34,7 +34,7 @@
      protected Class[] types = null;
   
      /**
  -    * The signature, e.g., new String[]{String.class.getName(), int.class.getName()}.
  +    * The signature, e.g., new String[]{String.class.getLastElementAsString(), int.class.getLastElementAsString()}.
       */
      protected String[] signature = null;
   
  @@ -214,7 +214,8 @@
            if (meth != null)
            {
               retval = meth.invoke(target, args);
  -         } else
  +         }
  +         else
            {
               throw new NoSuchMethodException(method_name);
            }
  
  
  



More information about the jboss-cvs-commits mailing list