hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1416857 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java
Date Tue, 04 Dec 2012 09:52:00 GMT
Author: olegk
Date: Tue Dec  4 09:52:00 2012
New Revision: 1416857

URL: http://svn.apache.org/viewvc?rev=1416857&view=rev
Log:
Made CookieSpecRegistry implement Lookup interface for compatibility with the new config API

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java?rev=1416857&r1=1416856&r2=1416857&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/cookie/CookieSpecRegistry.java
Tue Dec  4 09:52:00 2012
@@ -35,6 +35,7 @@ import java.util.concurrent.ConcurrentHa
 
 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.HttpCont
  */
 @ThreadSafe
 @Deprecated
-public final class CookieSpecRegistry {
+public final class CookieSpecRegistry implements Lookup<CookieSpecProvider> {
 
     private final ConcurrentHashMap<String,CookieSpecFactory> registeredSpecs;
 



Mime
View raw message