oglueck     2004/12/30 03:01:27

  Modified:    httpclient/src/java/org/apache/commons/httpclient/auth
                        DigestScheme.java
  Log:
  added missing log guard
  
  Revision  Changes    Path
  1.22      +6 -4      
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/DigestScheme.java
  
  Index: DigestScheme.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/DigestScheme.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- DigestScheme.java 13 May 2004 04:02:00 -0000      1.21
  +++ DigestScheme.java 30 Dec 2004 11:01:27 -0000      1.22
  @@ -406,7 +406,9 @@
               tmp2.append(md5a2);
               serverDigestValue = tmp2.toString();
           } else {
  -            LOG.debug("Using qop method " + qop);
  +            if (LOG.isDebugEnabled()) {
  +                LOG.debug("Using qop method " + qop);
  +            }
               String qopOption = getQopVariantString();
               StringBuffer tmp2 = new StringBuffer(md5a1.length() + 
nonce.length()
                   + NC.length() + cnonce.length() + qopOption.length() + 
md5a2.length() + 5);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to