From c222ad924718271e30f00de9a9752d52b73ee12c Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Tue, 4 Dec 2012 09:52:00 +0000 Subject: [PATCH] Made CookieSpecRegistry implement Lookup interface for compatibility with the new config API git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416857 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/http/cookie/CookieSpecRegistry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java b/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java index bfb1085bf..b5897c872 100644 --- a/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java +++ b/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java @@ -35,6 +35,7 @@ import java.util.concurrent.ConcurrentHashMap; import org.apache.http.HttpRequest; import org.apache.http.annotation.ThreadSafe; +import org.apache.http.config.Lookup; import org.apache.http.config.Registry; import org.apache.http.params.HttpParams; import org.apache.http.protocol.ExecutionContext; @@ -51,7 +52,7 @@ import org.apache.http.protocol.HttpContext; */ @ThreadSafe @Deprecated -public final class CookieSpecRegistry { +public final class CookieSpecRegistry implements Lookup { private final ConcurrentHashMap registeredSpecs;