directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r165695 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
Date Mon, 02 May 2005 21:18:24 GMT
Author: elecharny
Date: Mon May  2 14:18:24 2005
New Revision: 165695

URL: http://svn.apache.org/viewcvs?rev=165695&view=rev
Log:
Fixed some Javadoc

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java?rev=165695&r1=165694&r2=165695&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/primitives/OctetString.java
Mon May  2 14:18:24 2005
@@ -21,7 +21,7 @@
 
 
 /**
- * Emplement the Octet String primitive type.
+ * Implement the Octet String primitive type.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -29,8 +29,8 @@
 {
     //~ Static fields/initializers -----------------------------------------------------------------
 
-    /** A null MutableString */
-    public static final OctetString EMPTY_STRING = new OctetString();
+    /** A null OctetString */
+    public static final OctetString EMPTY_STRING = new OctetString(0);
 
     /** A flag to mark the OctetString as Streamed (for OctetString larger than 1024 chars)
*/
     // TODO implement the streaming...
@@ -44,7 +44,7 @@
     /** Tells if the OctetString is streamed or not */
     private boolean isStreamed;
 
-    /** The string is stored in a char array */
+    /** The string is stored in a byte array */
     private byte[] bytes;
 
     /** Actual length of the string */
@@ -64,7 +64,7 @@
 
     /**
      * Creates a OctetString with a specific length.
-     * @param length DOCUMENT ME!
+     * @param length The OctetString length
     */
     public OctetString(  int length )
     {
@@ -191,7 +191,7 @@
 
     /**
      * Return a native String representation of the OctetString.
-     * @return DOCUMENT ME!
+     * @return A string representing the OctetString
     */
     public String toString()
     {



Mime
View raw message