[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Tue Feb 27 13:26:15 EST 2007
User: msurtani
Date: 07/02/27 13:26:15
Modified: src/org/jboss/cache/interceptors
OptimisticNodeInterceptor.java
Log:
JBCACHE-938
Revision Changes Path
1.55 +3 -3 JBossCache/src/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OptimisticNodeInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- OptimisticNodeInterceptor.java 7 Feb 2007 22:06:41 -0000 1.54
+++ OptimisticNodeInterceptor.java 27 Feb 2007 18:26:15 -0000 1.55
@@ -137,12 +137,12 @@
{
case MethodDeclarations.putDataMethodLocal_id:
Boolean erase = (Boolean) args[3];
- cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_MAP, workspaceNode == null ? null : workspaceNode.getData(), false);
+ cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_MAP, workspaceNode.getData(), false);
putDataMap((Map<Object, Object>) args[2], erase, workspace, workspaceNode);
cache.getNotifier().notifyNodeModified(fqn, false, CacheListener.ModificationType.PUT_MAP, workspaceNode.getData(), false);
break;
case MethodDeclarations.putDataEraseMethodLocal_id:
- cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_MAP, workspaceNode == null ? null : workspaceNode.getData(), false);
+ cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_MAP, workspaceNode.getData(), false);
putDataMap((Map<Object, Object>) args[2], true, workspace, workspaceNode);
cache.getNotifier().notifyNodeModified(fqn, false, CacheListener.ModificationType.PUT_MAP, workspaceNode.getData(), false);
break;
@@ -152,7 +152,7 @@
Map addedData = new HashMap();
addedData.put(key, value);
- cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_DATA, workspaceNode == null ? null : workspaceNode.getData(), false);
+ cache.getNotifier().notifyNodeModified(fqn, true, CacheListener.ModificationType.PUT_DATA, workspaceNode.getData(), false);
result = putDataKeyValue(key, value, workspace, workspaceNode);
cache.getNotifier().notifyNodeModified(fqn, false, CacheListener.ModificationType.PUT_DATA, addedData, false);
break;
More information about the jboss-cvs-commits
mailing list