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

Oleg Kalnichevski resolved HTTPCLIENT-1252.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3 Alpha1

Ömer

StringBody#create methods have been deprecated in favor of 
MultipartEntityBuilder in 4.3

http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MultipartEntityBuilder.java

Oleg
                
> StringBody.create() makes no sense
> ----------------------------------
>
>                 Key: HTTPCLIENT-1252
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1252
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.1.3
>            Reporter: Ömer Yildiz
>            Priority: Trivial
>             Fix For: 4.3 Alpha1
>
>
> StringBody.java:
> {code}
> public static StringBody create(
>   final String text, final Charset charset) throws IllegalArgumentException;
> public static StringBody create(
>   final String text) throws IllegalArgumentException;
> {code}
> Both create methods are useless, because the MIME-Types defaults to null 
> which AbstractContentBody does not allow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to