directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r351914 - /directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java
Date Sat, 03 Dec 2005 12:13:50 GMT
Author: elecharny
Date: Sat Dec  3 04:13:44 2005
New Revision: 351914

URL: http://svn.apache.org/viewcvs?rev=351914&view=rev
Log:
Fixed DirSnickers-116 :
- The toUtf8() method has been renamed to Utf8ToString()
- Javadoc correctd for getBytesUtf8 method

Modified:
    directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java

Modified: directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java
URL: http://svn.apache.org/viewcvs/directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java?rev=351914&r1=351913&r2=351914&view=diff
==============================================================================
--- directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java (original)
+++ directory/asn1/trunk/codec/src/main/java/org/apache/asn1/codec/util/StringUtils.java Sat
Dec  3 04:13:44 2005
@@ -1246,7 +1246,7 @@
      * @param bytes The byte array to be transformed to a String
      * @return A String. 
      */
-    public static String toUtf8( byte[] bytes )
+    public static String Utf8ToString( byte[] bytes )
     {
         if( bytes == null )
         {
@@ -1264,7 +1264,7 @@
     }
 
     /**
-     * Return an UTF-8 encoded String
+     * Return UTF-8 encoded byte[] representation of a String
      * @param string The string to be transformed to a byte array
      * @return The transformed byte array 
      */



Mime
View raw message