src/share/classes/com/sun/jndi/url/iiop/iiopURLContextFactory.java
Print this page
@@ -66,16 +66,16 @@
* For example, with a iiop URL "iiop://localhost:900/rest/of/name",
* this method resolves "iiop://localhost:900/" to the "NameService"
* context on for the ORB at 'localhost' on port 900,
* and returns as the remaining name "rest/of/name".
*/
- static ResolveResult getUsingURLIgnoreRest(String url, Hashtable env)
+ static ResolveResult getUsingURLIgnoreRest(String url, Hashtable<?,?> env)
throws NamingException {
return CNCtx.createUsingURL(url, env);
}
- private static Object getUsingURL(String url, Hashtable env)
+ private static Object getUsingURL(String url, Hashtable<?,?> env)
throws NamingException {
ResolveResult res = getUsingURLIgnoreRest(url, env);
Context ctx = (Context)res.getResolvedObj();
try {
@@ -83,11 +83,11 @@
} finally {
ctx.close();
}
}
- private static Object getUsingURLs(String[] urls, Hashtable env) {
+ private static Object getUsingURLs(String[] urls, Hashtable<?,?> env) {
for (int i = 0; i < urls.length; i++) {
String url = urls[i];
try {
Object obj = getUsingURL(url, env);
if (obj != null) {