[jboss-cvs] JBossCache/src/org/jboss/cache/optimistic ...
Manik Surtani
manik at jboss.org
Fri Jun 29 13:40:50 EDT 2007
User: msurtani
Date: 07/06/29 13:40:50
Modified: src/org/jboss/cache/optimistic WorkspaceNodeImpl.java
Log:
JBCACHE-1116 and JBCACHE-1117
Revision Changes Path
1.57 +2 -2 JBossCache/src/org/jboss/cache/optimistic/WorkspaceNodeImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: WorkspaceNodeImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/optimistic/WorkspaceNodeImpl.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- WorkspaceNodeImpl.java 26 Apr 2007 12:03:07 -0000 1.56
+++ WorkspaceNodeImpl.java 29 Jun 2007 17:40:50 -0000 1.57
@@ -63,8 +63,8 @@
// we NEED this null check otherwise the ConcurrentHashMap constructor could throw an NPE
// could this not be a HashMap? After all, each WNI is only used within a single Workspace, which is only
// attached to a single transaction entry.
- //this.optimisticChildNodeMap = childrenMap == null ? new ConcurrentHashMap() : new ConcurrentHashMap(childrenMap);
- optimisticChildNodeMap = new HashMap(childrenMap);
+ this.optimisticChildNodeMap = childrenMap == null ? new HashMap() : new HashMap(childrenMap);
+// optimisticChildNodeMap = new HashMap(childrenMap);
this.version = node.getVersion();
if (version == null)
{
More information about the jboss-cvs-commits
mailing list