jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1353561 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
Date Mon, 25 Jun 2012 14:06:26 GMT
Author: jukka
Date: Mon Jun 25 14:06:25 2012
New Revision: 1353561

URL: http://svn.apache.org/viewvc?rev=1353561&view=rev
Log:
OAK-150: Basic JCR LockManager support

Avoid infinite loop in isLocked()

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java?rev=1353561&r1=1353560&r2=1353561&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeImpl.java
Mon Jun 25 14:06:25 2012
@@ -1052,7 +1052,7 @@ public class NodeImpl extends ItemImpl i
                     return true;
                 }
             }
-            parent = dlg.getParent();
+            parent = parent.getParent();
         }
 
         return false;



Mime
View raw message