commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsde...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/util URIUtil.java
Date Sun, 06 Apr 2003 22:31:54 GMT
jsdever     2003/04/06 15:31:54

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        Authenticator.java HeaderGroup.java
                        HttpMethodBase.java Wire.java
                        WireLogOutputStream.java
               httpclient/src/java/org/apache/commons/httpclient/auth
                        AuthChallengeParser.java AuthScheme.java
                        AuthSchemeBase.java AuthenticationException.java
                        BasicScheme.java DigestScheme.java
                        HttpAuthenticator.java
                        MalformedChallengeException.java NTLMScheme.java
                        RFC2617Scheme.java
               httpclient/src/java/org/apache/commons/httpclient/methods
                        ExpectContinueMethod.java
               httpclient/src/java/org/apache/commons/httpclient/methods/multipart
                        StringPart.java
               httpclient/src/java/org/apache/commons/httpclient/util
                        URIUtil.java
  Log:
  Minor checkstyle violation fixes.
  
  Revision  Changes    Path
  1.43      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Authenticator.java
  
  Index: Authenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Authenticator.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- Authenticator.java	4 Apr 2003 02:37:02 -0000	1.42
  +++ Authenticator.java	6 Apr 2003 22:31:52 -0000	1.43
  @@ -167,7 +167,7 @@
        *         not supported
        * @see HttpState#setProxyCredentials(String,Credentials)
        * 
  -     * @deprecated use {@link HttpAuthenticator#authenticateProxy(AuthScheme, HttpMethod,
HttpState)}
  +     * @deprecated use {@link HttpAuthenticator#authenticateProxy(AuthScheme,HttpMethod,HttpState)}
        */
       public static boolean authenticateProxy(HttpMethod method, HttpState state)
           throws HttpException, UnsupportedOperationException {
  @@ -246,4 +246,4 @@
           }
   
       }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.3       +63 -0     jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HeaderGroup.java
  
  Index: HeaderGroup.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HeaderGroup.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HeaderGroup.java	4 Apr 2003 02:37:02 -0000	1.2
  +++ HeaderGroup.java	6 Apr 2003 22:31:52 -0000	1.3
  @@ -1,3 +1,66 @@
  +/*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
  + * ====================================================================
  + *
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *    notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *    notice, this list of conditions and the following disclaimer in
  + *    the documentation and/or other materials provided with the
  + *    distribution.
  + *
  + * 3. The end-user documentation included with the redistribution, if
  + *    any, must include the following acknowlegement:
  + *       "This product includes software developed by the
  + *        Apache Software Foundation (http://www.apache.org/)."
  + *    Alternately, this acknowlegement may appear in the software itself,
  + *    if and wherever such third-party acknowlegements normally appear.
  + *
  + * 4. The names "The Jakarta Project", "Commons", and "Apache Software
  + *    Foundation" must not be used to endorse or promote products derived
  + *    from this software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    nor may "Apache" appear in their names without prior written
  + *    permission of the Apache Group.
  + *
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + * SUCH DAMAGE.
  + * ====================================================================
  + *
  + * This software consists of voluntary contributions made by many
  + * individuals on behalf of the Apache Software Foundation.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + * [Additional notices, if required by prior licensing conditions]
  + *
  + */
  +
   package org.apache.commons.httpclient;
   
   import java.util.ArrayList;
  
  
  
  1.130     +5 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java
  
  Index: HttpMethodBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodBase.java,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -u -r1.129 -r1.130
  --- HttpMethodBase.java	4 Apr 2003 02:37:02 -0000	1.129
  +++ HttpMethodBase.java	6 Apr 2003 22:31:52 -0000	1.130
  @@ -2,6 +2,7 @@
    * $Header$
    * $Revision$
    * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.4       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Wire.java
  
  Index: Wire.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/Wire.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Wire.java	4 Apr 2003 02:37:02 -0000	1.3
  +++ Wire.java	6 Apr 2003 22:31:53 -0000	1.4
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.4       +5 -1      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/WireLogOutputStream.java
  
  Index: WireLogOutputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/WireLogOutputStream.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WireLogOutputStream.java	4 Apr 2003 02:37:02 -0000	1.3
  +++ WireLogOutputStream.java	6 Apr 2003 22:31:53 -0000	1.4
  @@ -1,9 +1,13 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  
  1.4       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthChallengeParser.java
  
  Index: AuthChallengeParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthChallengeParser.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AuthChallengeParser.java	4 Apr 2003 02:37:03 -0000	1.3
  +++ AuthChallengeParser.java	6 Apr 2003 22:31:53 -0000	1.4
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthScheme.java
  
  Index: AuthScheme.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthScheme.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AuthScheme.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ AuthScheme.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +7 -1      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthSchemeBase.java
  
  Index: AuthSchemeBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthSchemeBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AuthSchemeBase.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ AuthSchemeBase.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -64,7 +68,9 @@
    * Abstract authentication scheme class that implements {@link AuthScheme}
    * interface and provides a default contstructor.
    * </p>
  -*/
  + *
  + * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
  + */
   public abstract class AuthSchemeBase implements AuthScheme {
   
       /**
  
  
  
  1.2       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthenticationException.java
  
  Index: AuthenticationException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/AuthenticationException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AuthenticationException.java	27 Mar 2003 20:58:27 -0000	1.1
  +++ AuthenticationException.java	6 Apr 2003 22:31:53 -0000	1.2
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/BasicScheme.java
  
  Index: BasicScheme.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/BasicScheme.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BasicScheme.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ BasicScheme.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +4 -0      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DigestScheme.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ DigestScheme.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +5 -1      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/HttpAuthenticator.java
  
  Index: HttpAuthenticator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/HttpAuthenticator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HttpAuthenticator.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ HttpAuthenticator.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -340,4 +344,4 @@
          LOG.trace("enter HttpAuthenticator.authenticateProxy(AuthScheme, HttpMethod, HttpState)");
          return doAuthenticate(authscheme, method, state, true);
       }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/MalformedChallengeException.java
  
  Index: MalformedChallengeException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/MalformedChallengeException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MalformedChallengeException.java	27 Mar 2003 20:58:27 -0000	1.1
  +++ MalformedChallengeException.java	6 Apr 2003 22:31:53 -0000	1.2
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java
  
  Index: NTLMScheme.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/NTLMScheme.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NTLMScheme.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ NTLMScheme.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.3       +6 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/RFC2617Scheme.java
  
  Index: RFC2617Scheme.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/auth/RFC2617Scheme.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RFC2617Scheme.java	4 Apr 2003 02:37:03 -0000	1.2
  +++ RFC2617Scheme.java	6 Apr 2003 22:31:53 -0000	1.3
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -67,6 +71,8 @@
    * RFC 2617 compliant authetication schemes and provides capabilities common 
    * to all authentication schemes defined in RFC 2617.
    * </p>
  + *
  + * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
   */
   public abstract class RFC2617Scheme extends AuthSchemeBase {
   
  
  
  
  1.5       +4 -0      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/ExpectContinueMethod.java
  
  Index: ExpectContinueMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/ExpectContinueMethod.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExpectContinueMethod.java	4 Apr 2003 02:37:03 -0000	1.4
  +++ ExpectContinueMethod.java	6 Apr 2003 22:31:54 -0000	1.5
  @@ -1,4 +1,8 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  
  
  
  1.7       +8 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/multipart/StringPart.java
  
  Index: StringPart.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/methods/multipart/StringPart.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StringPart.java	12 Feb 2003 12:30:44 -0000	1.6
  +++ StringPart.java	6 Apr 2003 22:31:54 -0000	1.7
  @@ -168,11 +168,15 @@
        * Return the transfer encoding of this part.
        * @return String The name.
        */
  -
       public String getTransferEncoding() {
           return DEFAULT_TRANSFER_ENCODING;
       }
       
  +    /**
  +     * Writes the data to the given OutputStream.
  +     * @param out the OutputStream to write to
  +     * @throws IOException if there is a write error
  +     */
       protected void sendData(OutputStream out) throws IOException {
           LOG.trace("enter sendData(OutputStream)");
           out.write(this.content);
  
  
  
  1.19      +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/util/URIUtil.java
  
  Index: URIUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/util/URIUtil.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- URIUtil.java	13 Feb 2003 05:08:18 -0000	1.18
  +++ URIUtil.java	6 Apr 2003 22:31:54 -0000	1.19
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002-2003 the Apache Software Foundation.  All rights 
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message