< prev index next >

src/java.naming/share/classes/javax/naming/spi/NamingManager.java

Print this page

        

@@ -410,11 +410,11 @@
 
 
     /**
      * Retrieves a context identified by {@code obj}, using the specified
      * environment.
-     * Used by ContinuationContext.
+     * Used by ContinuationScope.
      *
      * @param obj       The object identifying the context.
      * @param name      The name of the context being returned, relative to
      *                  {@code nameCtx}, or null if no name is being
      *                  specified.

@@ -452,11 +452,11 @@
         return (answer instanceof Context)
             ? (Context)answer
             : null;
     }
 
-    // Used by ContinuationContext
+    // Used by ContinuationScope
     static Resolver getResolver(Object obj, Name name, Context nameCtx,
                                 Hashtable<?,?> environment) throws NamingException {
         Object answer;
 
         if (obj instanceof Resolver) {
< prev index next >