src/share/classes/com/sun/jndi/url/ldap/ldapURLContextFactory.java

Print this page

        

@@ -51,11 +51,11 @@
         } else {
             return LdapCtxFactory.getLdapCtxInstance(urlInfo, env);
         }
     }
 
-    static ResolveResult getUsingURLIgnoreRootDN(String url, Hashtable env)
+    static ResolveResult getUsingURLIgnoreRootDN(String url, Hashtable<?,?> env)
             throws NamingException {
         LdapURL ldapUrl = new LdapURL(url);
         DirContext ctx = new LdapCtx("", ldapUrl.getHost(), ldapUrl.getPort(),
             env, ldapUrl.useSsl());
         String dn = (ldapUrl.getDN() != null ? ldapUrl.getDN() : "");