hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1051355 - /httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java
Date Tue, 21 Dec 2010 01:50:35 GMT
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



Mime
View raw message