[jbosscache-commits] JBoss Cache SVN: r5992 - core/branches/1.4.X/src/org/jboss/cache/aop.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Jun 16 20:40:14 EDT 2008


Author: jason.greene at jboss.com
Date: 2008-06-16 20:40:14 -0400 (Mon, 16 Jun 2008)
New Revision: 5992

Modified:
   core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java
Log:
Fix JBCACHE-1370


Modified: core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java
===================================================================
--- core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java	2008-06-17 00:16:30 UTC (rev 5991)
+++ core/branches/1.4.X/src/org/jboss/cache/aop/TreeCacheAopDelegate.java	2008-06-17 00:40:14 UTC (rev 5992)
@@ -137,7 +137,7 @@
          CacheInterceptor interceptor = new CacheInterceptor(cache_, fqn, type);
          interceptor.setAopInstance(aopInstance);
          advisor.appendInterceptor(interceptor);
-         cache_.addUndoInterceptor(advisor, interceptor, ModificationEntry.INTERCEPTOR_ADD);
+         //cache_.addUndoInterceptor(advisor, interceptor, ModificationEntry.INTERCEPTOR_ADD);
 
       } else { // Must be Collection classes. We will use aop.ClassProxy instance instead.
          try {
@@ -609,7 +609,7 @@
             Interceptor interceptor = CollectionInterceptorUtil.getInterceptor((ClassProxy)value);
             value = ((AbstractCollectionInterceptor)interceptor).getOriginalInstance();
          }
-         
+
          try {
             field.set(result, value);
          } catch (IllegalAccessException e) {




More information about the jbosscache-commits mailing list