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

Jason Thomas Greene jgreene at jboss.com
Tue Jul 17 23:01:49 EDT 2007


  User: jgreene 
  Date: 07/07/17 23:01:49

  Modified:    src/org/jboss/cache/pojo/interceptors 
                        PojoBeginInterceptor.java
  Log:
  Remove 'final' field replication support, which was broken anyway
  Fix enum test 
  
  Revision  Changes    Path
  1.3       +1 -20     JBossCache/src/org/jboss/cache/pojo/interceptors/PojoBeginInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoBeginInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/interceptors/PojoBeginInterceptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- PojoBeginInterceptor.java	23 May 2007 10:28:56 -0000	1.2
  +++ PojoBeginInterceptor.java	18 Jul 2007 03:01:49 -0000	1.3
  @@ -15,29 +15,10 @@
    * The first interceptor that deals initialization.
    *
    * @author Ben Wang
  - * @version $Id: PojoBeginInterceptor.java,v 1.2 2007/05/23 10:28:56 msurtani Exp $
  + * @version $Id: PojoBeginInterceptor.java,v 1.3 2007/07/18 03:01:49 jgreene Exp $
    */
   public class PojoBeginInterceptor extends AbstractInterceptor
   {
  -   private static ThreadLocal REPLICATE_FINAL = new ThreadLocal();
  -
  -   public void setReplicateFinalField(String isTrue)
  -   {
  -      REPLICATE_FINAL.set(Boolean.valueOf(isTrue));
  -   }
  -
  -   private static void reset()
  -   {
  -      REPLICATE_FINAL.set(Boolean.FALSE);
  -   }
  -
  -   public static boolean getReplicateFinalField()
  -   {
  -      if (REPLICATE_FINAL.get() == null) return false;
  -
  -      return (Boolean) REPLICATE_FINAL.get();
  -   }
  -
      public Object invoke(Invocation in) throws Throwable
      {
         if (!(in instanceof MethodInvocation))
  
  
  



More information about the jboss-cvs-commits mailing list