jdk/src/share/classes/com/sun/jndi/ldap/LdapURL.java
changeset 25808 e113d0a0fde0
parent 5506 202f599c92aa
equal deleted inserted replaced
25807:6c325960c9ee 25808:e113d0a0fde0
   160         System.arraycopy(urls, 0, trimmed, 0, i);
   160         System.arraycopy(urls, 0, trimmed, 0, i);
   161         return trimmed;
   161         return trimmed;
   162     }
   162     }
   163 
   163 
   164     /**
   164     /**
   165      * Derermines whether an LDAP URL has query components.
   165      * Determines whether an LDAP URL has query components.
   166      */
   166      */
   167     public static boolean hasQueryComponents(String url) {
   167     public static boolean hasQueryComponents(String url) {
   168         return (url.lastIndexOf('?') != -1);
   168         return (url.lastIndexOf('?') != -1);
   169     }
   169     }
   170 
   170