jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1136353 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
Date Thu, 16 Jun 2011 10:14:12 GMT
Author: angela
Date: Thu Jun 16 10:14:12 2011
New Revision: 1136353

URL: http://svn.apache.org/viewvc?rev=1136353&view=rev
Log:
JCR-2991 : DefaultItemCollection#unlock does not call DavSession#removeReference

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java?rev=1136353&r1=1136352&r2=1136353&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/jcr/DefaultItemCollection.java
Thu Jun 16 10:14:12 2011
@@ -702,6 +702,7 @@ public class DefaultItemCollection exten
         if (lock != null && lockToken.equals(lock.getToken())) {
             try {
                 ((Node) item).unlock();
+                getSession().removeReference(lock.getToken());                
             } catch (RepositoryException e) {
                 throw new JcrDavException(e);
             }



Mime
View raw message