jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r580261 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java
Date Fri, 28 Sep 2007 09:12:34 GMT
Author: stefan
Date: Fri Sep 28 02:12:34 2007
New Revision: 580261

URL: http://svn.apache.org/viewvc?rev=580261&view=rev
Log:
JCR-1104: JSR 283 support

work in (slow) progress...

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java?rev=580261&r1=580260&r2=580261&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockImpl.java
Fri Sep 28 02:12:34 2007
@@ -123,7 +123,7 @@
      */
     public boolean isLockOwningSession() {
         try {
-            return info.getLockHolder().equals(node.getSession());
+            return node.getSession().equals(info.getLockHolder());
         } catch (RepositoryException e) {
             return false;
         }



Mime
View raw message