Fix Javadoc for current behaviour
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1051355 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
52f311f5de
commit
c1e0539a93
|
@ -80,7 +80,7 @@ public class StringBody extends AbstractContentBody {
|
|||
* Create a StringBody from the specified text, mime type and character set.
|
||||
*
|
||||
* @param text to be used for the body, not {@code null}
|
||||
* @param mimeType the mime type, may be {@code null}
|
||||
* @param mimeType the mime type, not {@code null}
|
||||
* @param charset the character set, may be {@code null}, in which case the US-ASCII charset is used
|
||||
* @throws UnsupportedEncodingException
|
||||
* @throws IllegalArgumentException if the {@code text} parameter is null
|
||||
|
|
Loading…
Reference in New Issue