--- old/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/XmlAdapter.java 2015-09-19 13:15:51.548874154 +0300 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/XmlAdapter.java 2015-09-19 13:15:51.404873440 +0300 @@ -32,7 +32,7 @@ * *

* Some Java types do not map naturally to a XML representation, for - * example HashMap or other non JavaBean classes. Conversely, + * example {@code HashMap} or other non JavaBean classes. Conversely, * a XML repsentation may map to a Java type but an application may * choose to accesss the XML representation using another Java * type. For example, the schema to Java binding rules bind @@ -68,10 +68,10 @@ * XmlJavaTypeAdapter} * * - *

Example: Customized mapping of HashMap

+ *

Example: Customized mapping of {@code HashMap}

*

The following example illustrates the use of - * @XmlAdapter and @XmlJavaTypeAdapter to - * customize the mapping of a HashMap. + * {@code @XmlAdapter} and {@code @XmlJavaTypeAdapter} to + * customize the mapping of a {@code HashMap}. * *

Step 1: Determine the desired XML representation for HashMap. * @@ -154,7 +154,7 @@ * @param * The type that JAXB doesn't know how to handle. An adapter is written * to allow this type to be used as an in-memory representation through - * the ValueType. + * the {@code ValueType}. * @param * The type that JAXB knows how to handle out of the box. *