[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Elias Ross
genman at noderunner.net
Mon Nov 20 02:33:14 EST 2006
User: genman
Date: 06/11/20 02:33:14
Modified: src/org/jboss/cache/interceptors
OptimisticValidatorInterceptor.java
Log:
JBCACHE-867 -- Fix some data copying issues of Node.getData()
Revision Changes Path
1.41 +2 -2 JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OptimisticValidatorInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- OptimisticValidatorInterceptor.java 20 Nov 2006 03:53:54 -0000 1.40
+++ OptimisticValidatorInterceptor.java 20 Nov 2006 07:33:14 -0000 1.41
@@ -195,10 +195,10 @@
}
else
{
- cache.getNotifier().notifyNodeRemoved(dNode.getFqn(), true, dNode.getData() == null ? Collections.emptyMap() : Collections.unmodifiableMap(dNode.getData()));
+ cache.getNotifier().notifyNodeRemoved(dNode.getFqn(), true, dNode.getNodeSPI().getRawData());
DataNode parent = (DataNode) dNode.getParent();
parent.removeChild(dNode.getFqn().getLast());
- cache.getNotifier().notifyNodeRemoved(dNode.getFqn(), false, null);
+ cache.getNotifier().notifyNodeRemoved(dNode.getFqn(), false, Collections.emptyMap());
}
}
else
More information about the jboss-cvs-commits
mailing list