You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2015/07/04 15:55:04 UTC

[jira] [Resolved] (HTTPCLIENT-1468) Remove unneccessary throws UnsupportedEncodingException

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1468.
-------------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   5.0

Applied to SVN trunk.

Oleg

> Remove unneccessary throws UnsupportedEncodingException
> -------------------------------------------------------
>
>                 Key: HTTPCLIENT-1468
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1468
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.3.1
>            Reporter: Robin Skoglund
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: HTTPCLIENT-1468.patch
>
>
> UrlEncodedFormEntity has methods that unneccessarily declare 'throws UnsupportedEncodingException'. This over-complicates client code because you have to set up a lot of "this should never happen" exception handling. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org