--- old/src/java.naming/share/classes/javax/naming/Binding.java 2015-08-04 13:14:22.780900133 +0300 +++ new/src/java.naming/share/classes/javax/naming/Binding.java 2015-08-04 13:14:22.428900125 +0300 @@ -49,7 +49,7 @@ /** * Contains this binding's object. * It is initialized by the constructor and can be updated using - * setObject. + * {@code setObject}. * @serial * @see #getObject * @see #setObject @@ -59,9 +59,9 @@ /** * Constructs an instance of a Binding given its name and object. *

- * getClassName() will return - * the class name of obj (or null if obj is null) - * unless the class name has been explicitly set using setClassName() + * {@code getClassName()} will return + * the class name of {@code obj} (or null if {@code obj} is null) + * unless the class name has been explicitly set using {@code setClassName()} * * @param name The non-null name of the object. It is relative * to the target context (which is @@ -78,9 +78,9 @@ * Constructs an instance of a Binding given its name, object, and whether * the name is relative. *

- * getClassName() will return the class name of obj - * (or null if obj is null) unless the class name has been - * explicitly set using setClassName() + * {@code getClassName()} will return the class name of {@code obj} + * (or null if {@code obj} is null) unless the class name has been + * explicitly set using {@code setClassName()} * * @param name The non-null string name of the object. * @param obj The possibly null object bound to name. @@ -104,9 +104,9 @@ * to the target context (which is * named by the first parameter of the listBindings() method) * @param className The possibly null class name of the object - * bound to name. If null, the class name of obj is - * returned by getClassName(). If obj is also - * null, getClassName() will return null. + * bound to {@code name}. If null, the class name of {@code obj} is + * returned by {@code getClassName()}. If {@code obj} is also + * null, {@code getClassName()} will return null. * @param obj The possibly null object bound to name. * @see NameClassPair#setClassName */ @@ -121,9 +121,9 @@ * * @param name The non-null string name of the object. * @param className The possibly null class name of the object - * bound to name. If null, the class name of obj is - * returned by getClassName(). If obj is also - * null, getClassName() will return null. + * bound to {@code name}. If null, the class name of {@code obj} is + * returned by {@code getClassName()}. If {@code obj} is also + * null, {@code getClassName()} will return null. * @param obj The possibly null object bound to name. * @param isRelative true if name is a name relative * to the target context (which is named by