directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r441725 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java
Date Sat, 09 Sep 2006 02:18:15 GMT
Author: elecharny
Date: Fri Sep  8 19:18:14 2006
New Revision: 441725

URL: http://svn.apache.org/viewvc?view=rev&rev=441725
Log:
Reformated somme comments.
Removed the serialUID

Modified:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java?view=diff&rev=441725&r1=441724&r2=441725
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/utils/StringTools.java
Fri Sep  8 19:18:14 2006
@@ -3,15 +3,6 @@
 import java.io.UnsupportedEncodingException;
 
 public class StringTools {
-    /**
-     * Declares the Serial Version Uid.
-     *
-     * @see <a
-     *      href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always
-     *      Declare Serial Version Uid</a>
-     */
-    static final long serialVersionUID = 2L;
-
     /** Hex chars */
     private static final byte[] HEX_CHAR = new byte[]
         { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
};
@@ -25,8 +16,7 @@
     /**
      * Return UTF-8 encoded byte[] representation of a String
      * 
-     * @param string
-     *            The string to be transformed to a byte array
+     * @param string The string to be transformed to a byte array
      * @return The transformed byte array
      */
     public static final byte[] getBytesUtf8( String string )
@@ -49,8 +39,7 @@
     /**
      * Helper function that dump an array of bytes in hex form
      * 
-     * @param buffer
-     *            The bytes array to dump
+     * @param buffer The bytes array to dump
      * @return A string representation of the array of bytes
      */
     public static final String dumpBytes( byte[] buffer )
@@ -89,8 +78,7 @@
      * String. That functionality is available in isBlank().
      * </p>
      * 
-     * @param str
-     *            the String to check, may be null
+     * @param str the String to check, may be null
      * @return <code>true</code> if the String is empty or null
      */
     public static final boolean isEmpty( String str )



Mime
View raw message