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

Jason Thomas Greene jgreene at jboss.com
Thu Apr 5 15:54:42 EDT 2007


  User: jgreene 
  Date: 07/04/05 15:54:42

  Modified:    src/org/jboss/cache/aop  Tag: Branch_JBossCache_1_4_0
                        TreeCacheAopDelegate.java
  Log:
  Fix JBCACHE-1017
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.74.2.9  +1 -1      JBossCache/src/org/jboss/cache/aop/Attic/TreeCacheAopDelegate.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheAopDelegate.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/aop/Attic/TreeCacheAopDelegate.java,v
  retrieving revision 1.74.2.8
  retrieving revision 1.74.2.9
  diff -u -b -r1.74.2.8 -r1.74.2.9
  --- TreeCacheAopDelegate.java	16 Nov 2006 06:44:26 -0000	1.74.2.8
  +++ TreeCacheAopDelegate.java	5 Apr 2007 19:54:42 -0000	1.74.2.9
  @@ -173,7 +173,7 @@
         }
         // Skip some un-necessary update if obj is the same class as the old one
         Object oldValue = internal_.getPojo(fqn);
  -      if(oldValue == obj) return obj;  // value already in cache. return right away.
  +      if (oldValue == obj && (obj instanceof Advised || obj instanceof ClassProxy)) return obj;  // value already in cache. return right away.
   
         //if(oldValue != null)
         //{
  
  
  



More information about the jboss-cvs-commits mailing list