hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1409922 - in /httpcomponents/httpclient/trunk: RELEASE_NOTES.txt httpmime/src/main/java/org/apache/http/entity/mime/content/StringBody.java
Date Thu, 15 Nov 2012 18:46:03 GMT
Author: ggregory
Date: Thu Nov 15 18:46:03 2012
New Revision: 1409922

URL: http://svn.apache.org/viewvc?rev=1409922&view=rev
Log:
[HTTPCLIENT-1260] Javadoc incorrectly states StringBody(String)'s encoding uses the system
default. Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>


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

Modified: httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt?rev=1409922&r1=1409921&r2=1409922&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpclient/trunk/RELEASE_NOTES.txt Thu Nov 15 18:46:03 2012
@@ -1,6 +1,10 @@
 Changes in trunk
 -------------------
 
+* [HTTPCLIENT-1260]
+  Javadoc incorrectly states StringBody(String)'s encoding uses the system default. 
+  Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>

+
 * [HTTPCLIENT-1254] Redirect with underscore in hostname causes ProtocolException.
   Contributed by Oleg Kalnichevski <olegk at apache.org>
 

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=1409922&r1=1409921&r2=1409922&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
Thu Nov 15 18:46:03 2012
@@ -134,7 +134,7 @@ public class StringBody extends Abstract
     /**
      * Create a StringBody from the specified text.
      * The mime type is set to "text/plain".
-     * The hosts default charset is used.
+     * The {@linkplain Consts#ASCII ASCII} charset is used.
      *
      * @param text to be used for the body, not {@code null}
      * @throws UnsupportedEncodingException



Mime
View raw message