You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/04/15 07:53:28 UTC

svn commit: r161408 - directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/primitives/LdapDN.java

Author: elecharny
Date: Thu Apr 14 22:53:27 2005
New Revision: 161408

URL: http://svn.apache.org/viewcvs?view=rev&rev=161408
Log:
Corrected some doc

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/primitives/LdapDN.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/primitives/LdapDN.java?view=diff&r1=161407&r2=161408
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/primitives/LdapDN.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/primitives/LdapDN.java Thu Apr 14 22:53:27 2005
@@ -462,8 +462,9 @@
      * &lt;name-components&gt;    ::= &lt;spaces&gt; &lt;separator&gt; &lt;spaces&gt; &lt;name-component&gt; &lt;name-components&gt; | e <br>
      * </p>
      * 
+     * @param pool The pool in which we will get a MutableSTring
      * @param bytes The byte buffer that contains the DN
-     * @return A String containing the DN. 
+     * @return A MutableString containing the DN. 
      * @exception A DecoderException is thrown if the buffer does not contains a valid DN.
      */
     public static MutableString parseDN( PoolManager pool, byte[] bytes ) throws DecoderException
@@ -516,7 +517,7 @@
         }
         catch (PoolException pe) 
         {
-            throw new DecoderException("Cannot allocate a MutableString");
+            throw new DecoderException("Cannot allocate a LdapDN");
         }
     }
 }