Ömer Yildiz created HTTPCLIENT-1252:
---------------------------------------

             Summary: 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


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