jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r516365 - /jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java
Date Fri, 09 Mar 2007 10:42:15 GMT
Author: angela
Date: Fri Mar  9 02:42:14 2007
New Revision: 516365

URL: http://svn.apache.org/viewvc?view=rev&rev=516365
Log:
LockInfo.getNodeId must return the id of the lockholding node.

Modified:
    jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java

Modified: jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java?view=diff&rev=516365&r1=516364&r2=516365
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/LockInfoImpl.java
Fri Mar  9 02:42:14 2007
@@ -74,7 +74,7 @@
         this.lockOwner = lock.getLockOwner();
         this.isDeep = lock.isDeep();
         this.isSessionScoped = lock.isSessionScoped();
-        this.nodeId = idFactory.createNodeId(node, nsResolver);
+        this.nodeId = idFactory.createNodeId(lock.getNode(), nsResolver);
     }
 
     /**



Mime
View raw message