You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2010/12/21 02:50:35 UTC

svn commit: r1051355 - /httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java

Author: sebb
Date: Tue Dec 21 01:50:35 2010
New Revision: 1051355

URL: http://svn.apache.org/viewvc?rev=1051355&view=rev
Log:
Fix Javadoc for current behaviour

Modified:
    httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java

Modified: httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java?rev=1051355&r1=1051354&r2=1051355&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java (original)
+++ httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java Tue Dec 21 01:50:35 2010
@@ -80,7 +80,7 @@ public class StringBody extends Abstract
      * 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