jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r454424 - /jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
Date Mon, 09 Oct 2006 16:48:31 GMT
Author: angela
Date: Mon Oct  9 09:48:30 2006
New Revision: 454424

URL: http://svn.apache.org/viewvc?view=rev&rev=454424
Log:
LockDiscovery: fix retrieval of locktoken

Modified:
    jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java

Modified: jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java?view=diff&rev=454424&r1=454423&r2=454424
==============================================================================
--- jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
(original)
+++ jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
Mon Oct  9 09:48:30 2006
@@ -165,7 +165,7 @@
         public String getToken() {
             Element ltEl = DomUtil.getChildElement(alElement, XML_LOCKTOKEN, NAMESPACE);
             if (ltEl != null) {
-                return DomUtil.getChildText(alElement, XML_HREF, NAMESPACE);
+                return DomUtil.getChildText(ltEl, XML_HREF, NAMESPACE);
             }
             return null;
         }



Mime
View raw message