hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1468) Remove unneccessary throws UnsupportedEncodingException
Date Sat, 04 Jul 2015 13:55:04 GMT

     [ 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


Mime
View raw message