directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r657370 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
Date Sat, 17 May 2008 14:59:06 GMT
Author: elecharny
Date: Sat May 17 07:59:05 2008
New Revision: 657370

URL: http://svn.apache.org/viewvc?rev=657370&view=rev
Log:
Fixed some javadoc

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java?rev=657370&r1=657369&r2=657370&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/util/LdapURL.java
Sat May 17 07:59:05 2008
@@ -35,7 +35,6 @@
 import javax.naming.InvalidNameException;
 import javax.naming.directory.SearchControls;
 
-import org.apache.directory.shared.asn1.codec.DecoderException;
 import org.apache.directory.shared.ldap.filter.FilterParser;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.util.StringTools;
@@ -116,7 +115,6 @@
      */
     public LdapURL()
     {
-        super();
         host = null;
         port = -1;
         dn = null;
@@ -666,7 +664,7 @@
      * 
      * @param bytes array of URL safe characters
      * @return array of original bytes
-     * @throws DecoderException Thrown if URL decoding is unsuccessful
+     * @throws UrlDecoderException Thrown if URL decoding is unsuccessful
      */
     private static final byte[] decodeUrl( byte[] bytes ) throws UrlDecoderException
     {
@@ -1005,7 +1003,7 @@
      * extensions ::= extension [ ',' extension ]* 
      * extension ::= [ '!' ] ( token | ( 'x-' | 'X-' ) token ) ) [ '=' exvalue ]
      * 
-     * @param char The char array to be checked
+     * @param chars The char array to be checked
      * @param pos the starting position
      * @return -1 if the char array does not contains valid extensions or
      *         critical extensions
@@ -1253,6 +1251,10 @@
                     case SearchControls.SUBTREE_SCOPE:
                         sb.append( "sub" );
                         break;
+                        
+                        
+                    default :
+                        break;
                 }
 
                 if ( ( filter != null ) || ( ( extensions.size() != 0 ) || ( criticalExtensions.size()
!= 0 ) ) )



Mime
View raw message