[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Wed Sep 20 12:28:58 EDT 2006
User: msurtani
Date: 06/09/20 12:28:58
Modified: src/org/jboss/cache Node.java TreeCacheProxyImpl.java
Log:
Fixed moving with optlocking
Revision Changes Path
1.47 +0 -0 JBossCache/src/org/jboss/cache/Node.java
(In the diff below, changes in quantity of whitespace are not shown.)
1.36 +2 -0 JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCacheProxyImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- TreeCacheProxyImpl.java 16 Sep 2006 00:23:35 -0000 1.35
+++ TreeCacheProxyImpl.java 20 Sep 2006 16:28:58 -0000 1.36
@@ -449,7 +449,9 @@
public void move(Node newParent) throws NodeNotExistsException
{
+ Object name = currentNode.getFqn().getLast();
treeCache.move(newParent.getFqn(), currentNode.getFqn());
+ currentNode = (NodeImpl) peek(new Fqn(newParent.getFqn(), name));
}
public boolean hasChild(Fqn f)
More information about the jboss-cvs-commits
mailing list