You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Andreas Probst <an...@gmx.net> on 2002/10/27 11:37:29 UTC

Bug in WebdavResource?

Hi all,

while looking through the source code of WebdavResource to learn 
about updateMethod I saw the following:

    public boolean updateMethod(String target)
        throws HttpException, IOException {

        return unlockMethod(httpURL.getPath(), target);
    }
               ^^^^^^^^^^^^

Is this right? I guess it should be 
updateMethod(httpURL.getPath(), target);
which is implemented just below.

    public boolean updateMethod(String path,String target)
        throws HttpException, IOException {


 * $Header: /home/cvspublic/jakarta-
slide/src/webdav/client/src/org/apache/webdav/lib/WebdavResource.
java,v 1.51 2002/10/04 02:09:21 msmith Exp $
 * $Revision: 1.51 $
 * $Date: 2002/10/04 02:09:21 $

Andreas


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Bug in WebdavResource?

Posted by Sung-Gu <je...@apache.org>.
----- Original Message ----- 
From: "Andreas Probst" <an...@gmx.net>
\Subject: Bug in WebdavResource?


>     public boolean updateMethod(String target)
>         return unlockMethod(httpURL.getPath(), target);

Well, actually updateMethod are just half done...
So I haven't review it in details...   Sorry about that...

And thank you, applied your patch... 

Sung-Gu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>