oglueck     2003/01/05 23:46:13

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpURL.java
  Log:
  fixed compile errors
  
  Revision  Changes    Path
  1.6       +17 -17    
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpURL.java
  
  Index: HttpURL.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpURL.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HttpURL.java      3 Nov 2002 17:15:05 -0000       1.5
  +++ HttpURL.java      6 Jan 2003 07:46:13 -0000       1.6
  @@ -7,7 +7,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002 The Apache Software Foundation.  All rights 
  + * Copyright (c) 2002 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -15,7 +15,7 @@
    * are met:
    *
    * 1. Redistributions of source code must retain the above copyright
  - *    notice, this list of conditions and the following disclaimer. 
  + *    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
  @@ -23,15 +23,15 @@
    *    distribution.
    *
    * 3. The end-user documentation included with the redistribution, if
  - *    any, must include the following acknowlegement:  
  - *       "This product includes software developed by the 
  + *    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", "HttpClient", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
  - *    from this software without prior written permission. For written 
  + *    from this software without prior written permission. For written
    *    permission, please contact [EMAIL PROTECTED]
    *
    * 5. Products derived from this software may not be called "Apache"
  @@ -59,7 +59,7 @@
    *
    * [Additional notices, if required by prior licensing conditions]
    *
  - */ 
  + */
   
   package org.apache.commons.httpclient;
   
  @@ -445,7 +445,7 @@
           String authority = userinfo + "@" + hostport;
           _userinfo = userinfo.toCharArray();
           _authority = authority.toCharArray();
  -        setUriReference();
  +        setURI();
       }
   
   
  @@ -500,7 +500,7 @@
           String authority = userinfo + "@" + hostport;
           _userinfo = userinfo.toCharArray();
           _authority = authority.toCharArray();
  -        setUriReference();
  +        setURI();
       }
   
   
  @@ -593,7 +593,7 @@
           String authority = userinfo + "@" + hostport;
           _userinfo = userinfo.toCharArray();
           _authority = authority.toCharArray();
  -        setUriReference();
  +        setURI();
       }
   
   
  @@ -648,7 +648,7 @@
           return (password == null) ? null : new String(password);
       }
   
  - 
  +
       /**
        * Get the password.
        *
  @@ -711,13 +711,13 @@
        */
       public void setQuery(String queryName, String queryValue)
           throws URIException {
  -        
  +
           StringBuffer buff = new StringBuffer();
           buff.append(encode(queryName, allowed_within_query));
           buff.append('=');
           buff.append(encode(queryValue, allowed_within_query));
           _query = buff.toString().toCharArray();
  -        setUriReference();
  +        setURI();
       }
   
   
  @@ -733,7 +733,7 @@
        */
       public void setQuery(String[] queryName, String[] queryValue)
           throws URIException {
  -        
  +
           int length = queryName.length;
           if (length != queryValue.length)
               throw new URIException("wrong array size of query");
  @@ -746,7 +746,7 @@
               if (i + 1 < length) buff.append('&');
           }
           _query = buff.toString().toCharArray();
  -        setUriReference();
  +        setURI();
       }
   
       // ---------------------------------------------------------------- Utility
  
  
  

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

Reply via email to