src/share/classes/com/sun/jndi/url/dns/dnsURLContext.java

Print this page

        

@@ -43,20 +43,20 @@
  */
 
 
 public class dnsURLContext extends GenericURLDirContext {
 
-    public dnsURLContext(Hashtable env) {
+    public dnsURLContext(Hashtable<?,?> env) {
         super(env);
     }
 
     /**
      * Resolves the host and port of "url" to a root context connected
      * to the named DNS server, and returns the domain name as the
      * remaining name.
      */
-    protected ResolveResult getRootURLContext(String url, Hashtable env)
+    protected ResolveResult getRootURLContext(String url, Hashtable<?,?> env)
             throws NamingException {
 
         DnsUrl dnsUrl;
         try {
             dnsUrl = new DnsUrl(url);