You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by oz...@apache.org on 2004/05/13 15:06:41 UTC
cvs commit: jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib WebdavResource.java
ozeigermann 2004/05/13 06:06:41
Modified: webdavclient/clientlib/src/java/org/apache/webdav/lib/methods
UnlockMethod.java
webdavclient/clientlib/src/java/org/apache/webdav/lib
WebdavResource.java
Log:
Applied patch by Thomas Bernert to fix issue 28946
Revision Changes Path
1.3 +5 -5 jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/methods/UnlockMethod.java
Index: UnlockMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/methods/UnlockMethod.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- UnlockMethod.java 11 Feb 2004 11:30:52 -0000 1.2
+++ UnlockMethod.java 13 May 2004 13:06:39 -0000 1.3
@@ -26,7 +26,7 @@
import java.io.IOException;
import org.apache.commons.httpclient.HttpConnection;
import org.apache.commons.httpclient.HttpException;
-import org.apache.commons.httpclient.HttpMethodBase;
+
import org.apache.commons.httpclient.HttpState;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.webdav.lib.WebdavState;
@@ -38,7 +38,7 @@
* @author <a href="mailto:bcholmes@interlog.com">B.C. Holmes</a>
*/
public class UnlockMethod
- extends HttpMethodBase {
+ extends XMLResponseMethodBase {
// ----------------------------------------------------- Instance Variables
1.17 +4 -4 jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java
Index: WebdavResource.java
===================================================================
RCS file: /home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavResource.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- WebdavResource.java 29 Apr 2004 10:18:12 -0000 1.16
+++ WebdavResource.java 13 May 2004 13:06:40 -0000 1.17
@@ -4081,7 +4081,7 @@
if (lock == null) return false;
// unlock for the given path.
UnlockMethod method = new UnlockMethod(URIUtil.encodePath(path));
- //method.setDebug(debug);
+ method.setDebug(debug);
generateIfHeader(method);
method.setLockToken(lock);
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org