[
https://issues.apache.org/jira/browse/HTTPCLIENT-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742156#comment-13742156
]
Oleg Kalnichevski commented on HTTPCLIENT-1387:
-----------------------------------------------
Sebastian,
This method will not fail with a CCE unless someone _intentionally_ messes with
the context by sticking random stuff into it using untyped
#setAttribute(String, Object). The whole point of having HttpClientContext
adapter class is exactly to give users a type safe way interacting with
HttpContext instances.
There are literally dozens of places where @SuppressWarnings is used. If you
want @SuppressWarnings removed, at least this should be done consistently
across the entire code base.
Oleg
> Replace URICollection with List<URI>
> ------------------------------------
>
> Key: HTTPCLIENT-1387
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1387
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.3 Beta2
> Reporter: James Leigh
> Labels: patch
> Fix For: 4.3 Final
>
> Attachments: HTTPCLIENT-1387.patch
>
>
> The 4.3 API should use List<URI> interface (as opposed to URICollection) for
> redirect locations, while also providing 4.2 RedirectLocations binary
> compatibility.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]