commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpConstants.java
Date Thu, 10 Apr 2003 17:18:50 GMT
olegk       2003/04/10 10:18:50

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpConstants.java
  Log:
  Bug fix #18892 (httpclient charset encooding loosing problem)
  
  Contributed by Alexandr Kalner <personalpost@mail.ru>
  Reviewed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.9       +4 -4      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConstants.java
  
  Index: HttpConstants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConstants.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- HttpConstants.java	4 Apr 2003 02:37:02 -0000	1.8
  +++ HttpConstants.java	10 Apr 2003 17:18:49 -0000	1.9
  @@ -264,7 +264,7 @@
        * @return The result of the conversion.
        */
       public static String getContentString(final byte[] data, String charset) {
  -        return getContentString(data, 0, data.length);
  +        return getContentString(data, 0, data.length, charset);
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message