hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r576074 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
Date Sun, 16 Sep 2007 10:53:24 GMT
Author: rolandw
Date: Sun Sep 16 03:53:24 2007
New Revision: 576074

URL: http://svn.apache.org/viewvc?rev=576074&view=rev
Log:
parameter names in interfaces, part 2

Modified:
    jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java?rev=576074&r1=576073&r2=576074&view=diff
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
Sun Sep 16 03:53:24 2007
@@ -48,7 +48,7 @@
 import org.apache.http.params.BasicHttpParams;
 import org.apache.http.params.HttpConnectionParams;
 import org.apache.http.params.HttpParams;
-import org.apache.http.params.HttpProtocolParams;
+import org.apache.http.params.CoreProtocolPNames;
 import org.apache.http.protocol.BasicHttpProcessor;
 import org.apache.http.protocol.HttpContext;
 import org.apache.http.protocol.BasicHttpContext;
@@ -156,7 +156,7 @@
                                  false)
             .setBooleanParameter(HttpConnectionParams.TCP_NODELAY,
                                  true)
-            .setParameter(HttpProtocolParams.ORIGIN_SERVER,
+            .setParameter(CoreProtocolPNames.ORIGIN_SERVER,
                           "Jakarta-HttpComponents-LocalTestServer/1.1");
         return params;
     }



Mime
View raw message