[jboss-cvs] JBossCache/src/org/jboss/cache/factories ...

Manik Surtani msurtani at jboss.com
Tue Feb 27 12:27:44 EST 2007


  User: msurtani
  Date: 07/02/27 12:27:44

  Modified:    src/org/jboss/cache/factories  InterceptorChainFactory.java
  Log:
  JBCACHE-814
  
  Revision  Changes    Path
  1.38      +20 -8     JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InterceptorChainFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- InterceptorChainFactory.java	3 Jan 2007 15:33:10 -0000	1.37
  +++ InterceptorChainFactory.java	27 Feb 2007 17:27:44 -0000	1.38
  @@ -171,6 +171,18 @@
         else
            addInterceptor(first, notificationInterceptor);
   
  +
  +      if (first == null)
  +      {
  +         first = lock_interceptor;
  +      }
  +      else
  +      {
  +         addInterceptor(first, lock_interceptor);
  +      }
  +      
  +
  +
         // create the stack from the bottom up
         if (activation_interceptor != null)
         {
  @@ -306,14 +318,14 @@
            }
         }
   
  -      if (first == null)
  -      {
  -         first = lock_interceptor;
  -      }
  -      else
  -      {
  -         addInterceptor(first, lock_interceptor);
  -      }
  +//      if (first == null)
  +//      {
  +//         first = lock_interceptor;
  +//      }
  +//      else
  +//      {
  +//         addInterceptor(first, lock_interceptor);
  +//      }
   
         if (cache.getConfiguration().getEvictionConfig() != null && cache.getConfiguration().getEvictionConfig().isValidConfig())
         {
  
  
  



More information about the jboss-cvs-commits mailing list