[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/impl ...
Jason Thomas Greene
jgreene at jboss.com
Wed Apr 4 21:29:22 EDT 2007
User: jgreene
Date: 07/04/04 21:29:22
Modified: src/org/jboss/cache/pojo/impl PojoCacheDelegate.java
Log:
Fix JBCACHE-1017
Fix Set sync test case
Revision Changes Path
1.3 +1 -1 JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheDelegate.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCacheDelegate.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheDelegate.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- PojoCacheDelegate.java 12 Mar 2007 18:13:47 -0000 1.2
+++ PojoCacheDelegate.java 5 Apr 2007 01:29:22 -0000 1.3
@@ -118,7 +118,7 @@
{
// Skip some un-necessary update if obj is the same class as the old one
Object oldValue = internal_.getPojo(fqn);
- if (oldValue == obj)
+ if (oldValue == obj && (obj instanceof Advised || obj instanceof ClassProxy))
{
if (log.isDebugEnabled())
{
More information about the jboss-cvs-commits
mailing list