--- old/src/java.naming/share/classes/javax/naming/CompoundName.java 2015-08-04 13:14:25.816900200 +0300 +++ new/src/java.naming/share/classes/javax/naming/CompoundName.java 2015-08-04 13:14:25.400900191 +0300 @@ -137,9 +137,9 @@ * of the original compound name. * *

Multithreaded Access

- * A CompoundName instance is not synchronized against concurrent + * A {@code CompoundName} instance is not synchronized against concurrent * multithreaded access. Multiple threads trying to access and modify a - * CompoundName should lock the object. + * {@code CompoundName} should lock the object. * * @author Rosanna Lee * @author Scott Seligman @@ -194,7 +194,7 @@ * this compound name. See class description for * contents of properties. * @exception InvalidNameException If 'n' violates the syntax specified - * by syntax. + * by {@code syntax}. */ public CompoundName(String n, Properties syntax) throws InvalidNameException { if (syntax == null) { @@ -549,9 +549,9 @@ /** * Overridden to avoid implementation dependency. - * @serialData The syntax Properties, followed by - * the number of components (an int), and the individual - * components (each a String). + * @serialData The syntax {@code Properties}, followed by + * the number of components (an {@code int}), and the individual + * components (each a {@code String}). */ private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {