src/share/classes/com/sun/jndi/ldap/LdapURL.java
Print this page
rev 10430 : imported patch typos
*** 160,170 ****
System.arraycopy(urls, 0, trimmed, 0, i);
return trimmed;
}
/**
! * Derermines whether an LDAP URL has query components.
*/
public static boolean hasQueryComponents(String url) {
return (url.lastIndexOf('?') != -1);
}
--- 160,170 ----
System.arraycopy(urls, 0, trimmed, 0, i);
return trimmed;
}
/**
! * Determines whether an LDAP URL has query components.
*/
public static boolean hasQueryComponents(String url) {
return (url.lastIndexOf('?') != -1);
}