[ https://issues.apache.org/jira/browse/HTTPCORE-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908536#comment-13908536 ]
Gary Gregory commented on HTTPCORE-375: --------------------------------------- Well, it sounds like this project needs to formalize it's version policy if it is not the default Apache policy. I'm not sure if we want to adopt semantic versioning formally. We are talking about different changes here. Removing APIs breaks BC and is only OK in a major release. For _source_ compatibility changes, I am not sure what the policy is. > Remove unnecessary throws UnsupportedEncodingException > ------------------------------------------------------ > > Key: HTTPCORE-375 > URL: https://issues.apache.org/jira/browse/HTTPCORE-375 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore > Affects Versions: 4.4-alpha1 > Reporter: Robin Skoglund > Priority: Minor > Fix For: Future > > Attachments: HTTPCORE-375.patch > > > 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)'. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org