[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Elias Ross
genman at noderunner.net
Tue Nov 21 03:36:10 EST 2006
User: genman
Date: 06/11/21 03:36:10
Modified: src/org/jboss/cache/interceptors
OptimisticValidatorInterceptor.java
Log:
JIRA-867 bypass cache for internal put
Revision Changes Path
1.43 +3 -1 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.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- OptimisticValidatorInterceptor.java 20 Nov 2006 08:51:50 -0000 1.42
+++ OptimisticValidatorInterceptor.java 21 Nov 2006 08:36:10 -0000 1.43
@@ -226,7 +226,9 @@
cache.getNotifier().notifyNodeModified(wrappedNode.getFqn(), true, rawData);
}
- current.put(mergedData, true);
+ Map raw = current.getNodeSPI().getRawData();
+ raw.clear();
+ raw.putAll(mergedData);
if (workspace.isVersioningImplicit())
{
current.setVersion(((DefaultDataVersion) wrappedNode.getVersion()).increment());
More information about the jboss-cvs-commits
mailing list