From 7842392cf9a913f0b62e6d8f02e84583fe4b6815 Mon Sep 17 00:00:00 2001 From: Roland Weber Date: Sun, 16 Sep 2007 11:59:49 +0000 Subject: [PATCH] parameter names in interfaces, part 4 - examples git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576080 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/examples/client/ClientFormLogin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java b/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java index 8cc361434..46adf518c 100644 --- a/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java +++ b/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java @@ -36,7 +36,7 @@ import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.UrlEncodedFormEntity; import org.apache.http.client.params.CookiePolicy; -import org.apache.http.client.params.HttpClientParams; +import org.apache.http.client.params.ClientPNames; import org.apache.http.cookie.Cookie; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; @@ -52,7 +52,7 @@ public class ClientFormLogin { DefaultHttpClient httpclient = new DefaultHttpClient(); httpclient.getParams().setParameter( - HttpClientParams.COOKIE_POLICY, CookiePolicy.BROWSER_COMPATIBILITY); + ClientPNames.COOKIE_POLICY, CookiePolicy.BROWSER_COMPATIBILITY); HttpGet httpget = new HttpGet("https://portal.sun.com/portal/dt");