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:
Sebastian Bazley 2010-12-21 01:50:35 +00:00
parent 52f311f5de
commit c1e0539a93
1 changed files with 1 additions and 1 deletions

View File

@ -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