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 di...@the-ecorp.com on 2001/05/11 10:33:41 UTC

RE: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/we bdav/lib WebdavResource.java

Sung-Gu

You only committed a part of the patch, for full debug messages you also
need the other part.

    /**
     * Set the debug level for this resource
     */    
    public void setDebug(int debug) {
        super.setDebug(debug);
        if (client!=null)
            client.setDebug(debug);
    }  

Regards
Dirk


> -----Original Message-----
> From: jericho@apache.org [mailto:jericho@apache.org]
> Sent: Thursday, May 10, 2001 12:30 PM
> To: jakarta-slide-cvs@apache.org
> Subject: cvs commit:
> jakarta-slide/src/webdav/client/src/org/apache/webdav/lib
> WebdavResource.java
> 
> 
> jericho     01/05/10 03:29:47
> 
>   Modified:    src/webdav/client/src/org/apache/webdav/lib
>                         WebdavResource.java
>   Log:
>   - Set the debug level for child-resources.
>   
>     Patch submitted by Dirk Verbeeck <dirk.verbeeck at the-ecorp.com>
>   
>   Revision  Changes    Path
>   1.6       +4 -3      
> jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/Webd
> avResource.java
>   
>   Index: WebdavResource.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webda
> v/lib/WebdavResource.java,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- WebdavResource.java	2001/05/07 09:51:45	1.5
>   +++ WebdavResource.java	2001/05/10 10:29:42	1.6
>   @@ -1,7 +1,7 @@
>    /*
>   - * $Header: 
> /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webda
> v/lib/WebdavResource.java,v 1.5 2001/05/07 09:51:45 jericho Exp $
>   - * $Revision: 1.5 $
>   - * $Date: 2001/05/07 09:51:45 $
>   + * $Header: 
> /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webda
> v/lib/WebdavResource.java,v 1.6 2001/05/10 10:29:42 jericho Exp $
>   + * $Revision: 1.6 $
>   + * $Date: 2001/05/10 10:29:42 $
>     *
>     * 
> ====================================================================
>     *
>   @@ -578,6 +578,7 @@
>    
>                // Get to know each resource.
>                WebdavResource workingResource = new WebdavResource();
>   +            workingResource.setDebug(debug);
>                String displayName = null;
>                // Process the resource's properties
>                Enumeration properties = response.getProperties();
>   
>   
>   
> 

Re: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib WebdavResource.java

Posted by Remy Maucherat <re...@apache.org>.
> > Sung-Gu
> >
> > You only committed a part of the patch, for full debug messages you also
> > need the other part.
> >
> >     /**
> >      * Set the debug level for this resource
> >      */
> >     public void setDebug(int debug) {
> >         super.setDebug(debug);
> >         if (client!=null)
> >             client.setDebug(debug);
> >     }
> >
>
> Yes, I agree.
> BTW, which one do you prefer the debug mode to be turn on by an instance
or
> all instances once?
>
> I'm fighting a bug not to distinguish between a client with no credential
> and clients with credential.
> It's about the same HTTP URL.   As soon as I slove this problem, I'll
commit
> it.  ;-)

I added a credentials accessor. So check for null.

Remy


Re: cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib WebdavResource.java

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
----- Original Message -----
From: <di...@the-ecorp.com>
To: <sl...@jakarta.apache.org>
Sent: Friday, May 11, 2001 5:33 PM
Subject: RE: cvs commit:
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib
WebdavResource.java


> Sung-Gu
>
> You only committed a part of the patch, for full debug messages you also
> need the other part.
>
>     /**
>      * Set the debug level for this resource
>      */
>     public void setDebug(int debug) {
>         super.setDebug(debug);
>         if (client!=null)
>             client.setDebug(debug);
>     }
>

Yes, I agree.
BTW, which one do you prefer the debug mode to be turn on by an instance or
all instances once?

I'm fighting a bug not to distinguish between a client with no credential
and clients with credential.
It's about the same HTTP URL.   As soon as I slove this problem, I'll commit
it.  ;-)

Thank you,

Sung-Gu