hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1719951 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
Date Mon, 14 Dec 2015 16:27:46 GMT
Author: olegk
Date: Mon Dec 14 16:27:45 2015
New Revision: 1719951

URL: http://svn.apache.org/viewvc?rev=1719951&view=rev
Log:
HTTPCLIENT-1704: IgnoreSpec#match to always return false

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

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java?rev=1719951&r1=1719950&r2=1719951&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
Mon Dec 14 16:27:45 2015
@@ -51,6 +51,11 @@ public class IgnoreSpec extends CookieSp
     }
 
     @Override
+    public boolean match(final Cookie cookie, final CookieOrigin origin) {
+        return false;
+    }
+
+    @Override
     public List<Header> formatCookies(final List<Cookie> cookies) {
         return Collections.emptyList();
     }



Mime
View raw message