hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r662293 - in /httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient: HttpHost.java ProxyHost.java
Date Sun, 01 Jun 2008 21:29:13 GMT
Author: olegk
Date: Sun Jun  1 14:29:12 2008
New Revision: 662293

URL: http://svn.apache.org/viewvc?rev=662293&view=rev
Log:
HTTPCLIENT-780: javadoc fix

Modified:
    httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpHost.java
    httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/ProxyHost.java

Modified: httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpHost.java
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpHost.java?rev=662293&r1=662292&r2=662293&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpHost.java (original)
+++ httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/HttpHost.java Sun
Jun  1 14:29:12 2008
@@ -58,7 +58,7 @@
     /**
      * Constructor for HttpHost.
      *   
-     * @param hostname the hostname (IP or DNS name). Can be <code>null</code>.
+     * @param hostname the hostname (IP or DNS name).
      * @param port the port. Value <code>-1</code> can be used to set default
protocol port
      * @param protocol the protocol. Value <code>null</code> can be used to set
default protocol
      */
@@ -117,19 +117,19 @@
         init(httphost);
     }
 
-	private void init(final HttpHost httphost) {
-		this.hostname = httphost.hostname;
+    private void init(final HttpHost httphost) {
+        this.hostname = httphost.hostname;
         this.port = httphost.port;
         this.protocol = httphost.protocol;
-	}
+    }
 
     /**
      * @throws CloneNotSupportedException 
      * @see java.lang.Object#clone()
      */
     public Object clone() throws CloneNotSupportedException {
-    	HttpHost copy = (HttpHost) super.clone();
-    	copy.init(this);
+        HttpHost copy = (HttpHost) super.clone();
+        copy.init(this);
         return copy;
     }    
     

Modified: httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/ProxyHost.java
URL: http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/ProxyHost.java?rev=662293&r1=662292&r2=662293&view=diff
==============================================================================
--- httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/ProxyHost.java (original)
+++ httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/ProxyHost.java Sun
Jun  1 14:29:12 2008
@@ -57,7 +57,7 @@
     /**
      * Constructor for ProxyHost.
      *   
-     * @param hostname the hostname (IP or DNS name). Can be <code>null</code>.
+     * @param hostname the hostname (IP or DNS name).
      * @param port the port. Value <code>-1</code> can be used to set default
protocol port
      */
     public ProxyHost(final String hostname, int port) {
@@ -78,7 +78,7 @@
      * @see java.lang.Object#clone()
      */
     public Object clone() throws CloneNotSupportedException {
-    	ProxyHost copy = (ProxyHost) super.clone();
+        ProxyHost copy = (ProxyHost) super.clone();
         return copy;
     }    
     



Mime
View raw message