hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1387) Replace URICollection with List<URI>
Date Fri, 16 Aug 2013 12:57:48 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742179#comment-13742179
] 

Sebb commented on HTTPCLIENT-1387:
----------------------------------

OK. This is exactly the sort of information that it would be helpful to have in the code.

I did not intend to suggest removing @SuppressWarnings. Sometimes (as here) it is needed.
I just want to ensure that future maintainers know why the original coder thought it was safe
to ignore the warning.

AIUI the generics warnings are produced when the compiler does not have enough information
to determine that the code is definitely correct or definitely wrong. The warning alerts the
developer to the issue who can then take (and document) the appropriate action.
                
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message