hc-commits mailing list archives

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

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

Modified:
    httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java

Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java?rev=1719950&r1=1719949&r2=1719950&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
(original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/cookie/IgnoreSpec.java
Mon Dec 14 16:27:26 2015
@@ -56,6 +56,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