jira-importer opened a new issue, #870:
URL: https://github.com/apache/httpcomponents-core/issues/870

   **[Robin 
Skoglund](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=robinsk)**
 opened 
**[HTTPCORE-375](https://issues.apache.org/jira/browse/HTTPCORE-375?redirect=false)**
 and commented
   
   StringEntity has constructors 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.
   
   There's also a constructor that uses 'String.getBytes(String)', that should 
instead be using 'String.getBytes(Charset)'.
   
   
   ---
   
   **Affects:** 4.4-alpha1
   
   **Attachments:**
   - 
[HTTPCORE-375.patch](https://issues.apache.org/jira/secure/attachment/12630286/HTTPCORE-375.patch)
 (_2.87 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to