jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1309456 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
Date Wed, 04 Apr 2012 15:35:41 GMT
Author: mduerig
Date: Wed Apr  4 15:35:40 2012
New Revision: 1309456

URL: http://svn.apache.org/viewvc?rev=1309456&view=rev
Log:
OAK-9: Internal tree builder
fix: mixed up source and destination in move and copy

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java?rev=1309456&r1=1309455&r2=1309456&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditor.java
Wed Apr  4 15:35:40 2012
@@ -110,7 +110,7 @@ public class KernelNodeStateEditor imple
             return;
         }
         
-        TransientNodeState destParent = getTransientState(getParentPath(sourcePath));
+        TransientNodeState destParent = getTransientState(getParentPath(destPath));
         String destName = getName(destPath);
         if (destParent == null || destParent.hasNode(destName)) {
             return;
@@ -129,7 +129,7 @@ public class KernelNodeStateEditor imple
             return;
         }
 
-        TransientNodeState destParent = getTransientState(getParentPath(sourcePath));
+        TransientNodeState destParent = getTransientState(getParentPath(destPath));
         String destName = getName(destPath);
         if (destParent == null || destParent.hasNode(destName)) {
             return;



Mime
View raw message