[
https://issues.apache.org/jira/browse/HTTPCLIENT-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490185#comment-17490185
]
ASF subversion and git services commented on HTTPCLIENT-2202:
-------------------------------------------------------------
Commit b56dedf0fa96a8c656adc7c7fc060a83abc5bc88 in httpcomponents-client's
branch refs/heads/master from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=b56dedf ]
HTTPCLIENT-2202: MemcachedHttpCacheStorage should use MemcachedClientIF
interface instead of MemcachedClient
> MemcachedHttpCacheStorage should use MemcachedClientIF interface
> -----------------------------------------------------------------
>
> Key: HTTPCLIENT-2202
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2202
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpCache
> Affects Versions: 5.0, 5.1, 5.1.1, 5.1.2, 5.1.3
> Reporter: Robert Kennedy
> Priority: Minor
> Fix For: 5.1.4
>
>
> There appears to be a regression from 4.x to 5.x in which
> [MemcachedHttpCacheStorage|https://hc.apache.org/httpcomponents-client-5.1.x/current/httpclient5-cache/apidocs/]
> now requires the MemcachedClient object instead of the interface
> MemcachedClientIF. The class doesn't use any functionality outside of the
> interface, so why require anything higher than the interface?
> Changing to use MemcachedClientIF would be backward compatible since
> MemcachedClient implements this interface already.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]