Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1468

Remove unneccessary throws UnsupportedEncodingException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3.1
    • 5.0 Alpha1
    • HttpClient (classic)
    • None

    Description

      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.

      Attachments

        1. HTTPCLIENT-1468.patch
          2 kB
          Robin Skoglund

        Activity

          People

            Unassigned Unassigned
            robinsk Robin Skoglund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: