diff -r c5afcee4ff51 -r a5538163e144 jdk/src/java.naming/share/classes/javax/naming/directory/InitialDirContext.java --- a/jdk/src/java.naming/share/classes/javax/naming/directory/InitialDirContext.java Tue Aug 04 22:02:12 2015 -0700 +++ b/jdk/src/java.naming/share/classes/javax/naming/directory/InitialDirContext.java Wed Aug 05 13:40:18 2015 +0300 @@ -49,14 +49,14 @@ * Constructs an initial DirContext with the option of not * initializing it. This may be used by a constructor in * a subclass when the value of the environment parameter - * is not yet known at the time the InitialDirContext + * is not yet known at the time the {@code InitialDirContext} * constructor is called. The subclass's constructor will * call this constructor, compute the value of the environment, - * and then call init() before returning. + * and then call {@code init()} before returning. * * @param lazy * true means do not initialize the initial DirContext; false - * is equivalent to calling new InitialDirContext() + * is equivalent to calling {@code new InitialDirContext()} * @throws NamingException if a naming exception is encountered * * @see InitialContext#init(Hashtable) @@ -69,7 +69,7 @@ /** * Constructs an initial DirContext. * No environment properties are supplied. - * Equivalent to new InitialDirContext(null). + * Equivalent to {@code new InitialDirContext(null)}. * * @throws NamingException if a naming exception is encountered * @@ -82,12 +82,12 @@ /** * Constructs an initial DirContext using the supplied environment. * Environment properties are discussed in the - * javax.naming.InitialContext class description. + * {@code javax.naming.InitialContext} class description. * - *
This constructor will not modify environment + *
This constructor will not modify {@code environment} * or save a reference to it, but may save a clone. * 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. * * @param environment * environment used to create the initial DirContext.