--- old/src/java.naming/share/classes/javax/naming/ldap/InitialLdapContext.java 2015-08-04 13:14:56.912900892 +0300 +++ new/src/java.naming/share/classes/javax/naming/ldap/InitialLdapContext.java 2015-08-04 13:14:56.504900883 +0300 @@ -34,24 +34,24 @@ * This class is the starting context for performing * LDAPv3-style extended operations and controls. *

- * See javax.naming.InitialContext and - * javax.naming.InitialDirContext for details on synchronization, + * See {@code javax.naming.InitialContext} and + * {@code javax.naming.InitialDirContext} for details on synchronization, * and the policy for how an initial context is created. * *

Request Controls

- * When you create an initial context (InitialLdapContext), + * When you create an initial context ({@code InitialLdapContext}), * you can specify a list of request controls. * These controls will be used as the request controls for any * implicit LDAP "bind" operation performed by the context or contexts * derived from the context. These are called connection request controls. - * Use getConnectControls() to get a context's connection request + * Use {@code getConnectControls()} to get a context's connection request * controls. *

* The request controls supplied to the initial context constructor * are not used as the context request controls * for subsequent context operations such as searches and lookups. * Context request controls are set and updated by using - * setRequestControls(). + * {@code setRequestControls()}. *

* As shown, there can be two different sets of request controls * associated with a context: connection request controls and context @@ -67,14 +67,14 @@ * Controls[] respCtls = lctx.getResponseControls(); * * It specifies first the critical controls for creating the initial context - * (critConnCtls), and then sets the context's request controls - * (critModCtls) for the context operation. If for some reason - * lctx needs to reconnect to the server, it will use - * critConnCtls. See the LdapContext interface for + * ({@code critConnCtls}), and then sets the context's request controls + * ({@code critModCtls}) for the context operation. If for some reason + * {@code lctx} needs to reconnect to the server, it will use + * {@code critConnCtls}. See the {@code LdapContext} interface for * more discussion about request controls. *

* Service provider implementors should read the "Service Provider" section - * in the LdapContext class description for implementation details. + * in the {@code LdapContext} class description for implementation details. * * @author Rosanna Lee * @author Scott Seligman @@ -94,7 +94,7 @@ /** * Constructs an initial context using no environment properties or * connection request controls. - * Equivalent to new InitialLdapContext(null, null). + * Equivalent to {@code new InitialLdapContext(null, null)}. * * @throws NamingException if a naming exception is encountered */ @@ -105,15 +105,15 @@ /** * Constructs an initial context * using environment properties and connection request controls. - * See javax.naming.InitialContext for a discussion of + * See {@code javax.naming.InitialContext} for a discussion of * environment properties. * *

This constructor will not modify its parameters or * save references to them, but may save a clone or copy. * Caller should not modify mutable keys and values in - * environment after it has been passed to the constructor. + * {@code environment} after it has been passed to the constructor. * - *

connCtls is used as the underlying context instance's + *

{@code connCtls} is used as the underlying context instance's * connection request controls. See the class description * for details. * @@ -159,7 +159,7 @@ * * @return The non-null cached initial context. * @exception NotContextException If the initial context is not an - * instance of LdapContext. + * instance of {@code LdapContext}. * @exception NamingException If a naming exception was encountered. */ private LdapContext getDefaultLdapInitCtx() throws NamingException{