hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r721810 - /httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java
Date Sun, 30 Nov 2008 13:32:58 GMT
Author: sebb
Date: Sun Nov 30 05:32:58 2008
New Revision: 721810

URL: http://svn.apache.org/viewvc?rev=721810&view=rev
Log:
Make Serializable as class used by HttpHostConnectException which needs this.
Note that class is Immutable

Modified:
    httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java

Modified: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java?rev=721810&r1=721809&r2=721810&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java
(original)
+++ httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/HttpHost.java
Sun Nov 30 05:32:58 2008
@@ -31,6 +31,7 @@
 
 package org.apache.http;
 
+import java.io.Serializable;
 import java.util.Locale;
 
 import org.apache.http.util.CharArrayBuffer;
@@ -47,7 +48,8 @@
  * 
  * @since 4.0
  */
-public final class HttpHost implements Cloneable {
+//@Immutable
+public final class HttpHost implements Cloneable, Serializable {
 
     /** The default scheme is "http". */
     public static final String DEFAULT_SCHEME_NAME = "http";



Mime
View raw message