jdk/src/share/classes/com/sun/jndi/toolkit/ctx/PartialCompositeContext.java
changeset 21278 ef8a3a2a72f2
parent 10324 e28265130e4f
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   107 // ------ should be overridden by subclass;
   107 // ------ should be overridden by subclass;
   108 // ------ not abstract only for backward compatibility
   108 // ------ not abstract only for backward compatibility
   109 
   109 
   110     /**
   110     /**
   111      * A cheap way of getting the environment.
   111      * A cheap way of getting the environment.
   112      * Default implemenation is NOT cheap because it simply calls
   112      * Default implementation is NOT cheap because it simply calls
   113      * getEnvironment(), which most implementations clone before returning.
   113      * getEnvironment(), which most implementations clone before returning.
   114      * Subclass should ALWAYS override this with the cheapest possible way.
   114      * Subclass should ALWAYS override this with the cheapest possible way.
   115      * The toolkit knows to clone when necessary.
   115      * The toolkit knows to clone when necessary.
   116      * @return The possibly null environment of the context.
   116      * @return The possibly null environment of the context.
   117      */
   117      */