--- old/src/java.naming/share/classes/javax/naming/CompositeName.java 2015-08-04 13:14:24.780900177 +0300
+++ new/src/java.naming/share/classes/javax/naming/CompositeName.java 2015-08-04 13:14:24.340900168 +0300
@@ -76,7 +76,7 @@
*
Composite Name Examples
*This table shows examples of some composite names. Each row shows
*the string form of a composite name and its corresponding structural form
- *(CompositeName).
+ *({@code CompositeName}).
*
@@ -140,7 +140,7 @@
*Composition Examples
* Here are some composition examples. The right column shows composing
* string composite names while the left column shows composing the
- * corresponding CompositeNames. Notice that composing the
+ * corresponding {@code CompositeName}s. Notice that composing the
* string forms of two composite names simply involves concatenating
* their string forms together.
@@ -190,9 +190,9 @@
*
*Multithreaded Access
- * A CompositeName instance is not synchronized against concurrent
+ * A {@code CompositeName} instance is not synchronized against concurrent
* multithreaded access. Multiple threads trying to access and modify a
- * CompositeName should lock the object.
+ * {@code CompositeName} should lock the object.
*
* @author Rosanna Lee
* @author Scott Seligman
@@ -557,8 +557,8 @@
/**
* Overridden to avoid implementation dependency.
- * @serialData The number of components (an int) followed by
- * the individual components (each a String).
+ * @serialData The number of components (an {@code int}) followed by
+ * the individual components (each a {@code String}).
*/
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException {