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

Ben Wang bwang at jboss.com
Sun Sep 17 01:55:04 EDT 2006


  User: bwang   
  Date: 06/09/17 01:55:04

  Modified:    src-50/org/jboss/cache/pojo   PojoUtil.java
                        MethodDeclarations.java
  Log:
  Refactored for name change
  
  Revision  Changes    Path
  1.11      +2 -2      JBossCache/src-50/org/jboss/cache/pojo/PojoUtil.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoUtil.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/PojoUtil.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- PojoUtil.java	17 Sep 2006 05:41:00 -0000	1.10
  +++ PojoUtil.java	17 Sep 2006 05:55:04 -0000	1.11
  @@ -24,7 +24,7 @@
   /**
    * Utility class for method wrappers that we are interested to rollback (i.e., rollback).
    * @author Ben Wang
  - * @version $Id: PojoUtil.java,v 1.10 2006/09/17 05:41:00 bwang Exp $
  + * @version $Id: PojoUtil.java,v 1.11 2006/09/17 05:55:04 bwang Exp $
    */
   public class PojoUtil
   {
  @@ -125,7 +125,7 @@
         } catch (IllegalAccessException e)
         {
            throw new PojoCacheException(
  -                 "PojoUtil.fieldReplaceNewValue(): Can't swap out the class of field \" " +
  +                 "PojoUtil.inMemorySubstitution(): Can't swap out the class of field \" " +
                            "+field.getName()," + e);
         }
      }
  
  
  
  1.4       +5 -5      JBossCache/src-50/org/jboss/cache/pojo/MethodDeclarations.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodDeclarations.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/MethodDeclarations.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- MethodDeclarations.java	31 Jul 2006 02:44:42 -0000	1.3
  +++ MethodDeclarations.java	17 Sep 2006 05:55:04 -0000	1.4
  @@ -18,7 +18,7 @@
    * Method declarations for rollback method mostly.
    *
    * @author Ben Wang
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class MethodDeclarations
   {
  @@ -26,8 +26,8 @@
      public static final Method detachInterceptor;
      public static final Method undoAttachInterceptor;
      public static final Method undoDetachInterceptor;;
  -   public static final Method fieldReplaceNewValue;;
  -   public static final Method undoFieldReplaceNewValue;;
  +   public static final Method inMemorySubstitution;;
  +   public static final Method undoInMemorySubstitution;;
   
       static
       {
  @@ -41,9 +41,9 @@
                      new Class[] {Object.class, InstanceAdvisor.class, Interceptor.class, Observer.class});
              undoDetachInterceptor = PojoUtil.class.getDeclaredMethod("undoDetachInterceptor",
                      new Class[] {InstanceAdvisor.class, Interceptor.class, Observer.class});
  -           fieldReplaceNewValue = PojoUtil.class.getDeclaredMethod("fieldReplaceNewValue",
  +           inMemorySubstitution = PojoUtil.class.getDeclaredMethod("inMemorySubstitution",
                      new Class[] {Object.class, Field.class, Object.class});
  -           undoFieldReplaceNewValue = PojoUtil.class.getDeclaredMethod("undoFieldReplaceNewValue",
  +           undoInMemorySubstitution = PojoUtil.class.getDeclaredMethod("undoInMemorySubstitution",
                      new Class[] {Object.class, Field.class, Object.class});
           }
           catch (NoSuchMethodException ex)
  
  
  



More information about the jboss-cvs-commits mailing list