--- old/src/java.desktop/share/classes/javax/print/attribute/standard/PrinterStateReasons.java 2015-08-11 19:36:01.395331062 +0400 +++ new/src/java.desktop/share/classes/javax/print/attribute/standard/PrinterStateReasons.java 2015-08-11 19:36:01.215331071 +0400 @@ -72,10 +72,10 @@ *

* IPP Compatibility: The string values returned by each individual * {@link PrinterStateReason PrinterStateReason} object's and the associated - * {@link Severity Severity} object's toString() methods, + * {@link Severity Severity} object's {@code toString()} methods, * concatenated - * together with a hyphen ("-") in between, gives the IPP keyword - * value. The category name returned by getName() gives the IPP + * together with a hyphen ({@code "-"}) in between, gives the IPP keyword + * value. The category name returned by {@code getName()} gives the IPP * attribute name. * * @author Alan Kaminsky @@ -133,12 +133,12 @@ * @param map Map to copy. * * @exception NullPointerException - * (unchecked exception) Thrown if map is null or if any - * key or value in map is null. + * (unchecked exception) Thrown if {@code map} is null or if any + * key or value in {@code map} is null. * @throws ClassCastException - * (unchecked exception) Thrown if any key in map is not + * (unchecked exception) Thrown if any key in {@code map} is not * an instance of class {@link PrinterStateReason PrinterStateReason} or - * if any value in map is not an instance of class + * if any value in {@code map} is not an instance of class * {@link Severity Severity}. */ public PrinterStateReasons(Map map) { @@ -159,16 +159,16 @@ * an instance of class {@link Severity Severity}. * * @return Previous severity associated with the given printer state - * reason, or null if the given printer state reason was + * reason, or {@code null} if the given printer state reason was * not present. * * @throws NullPointerException - * (unchecked exception) Thrown if reason is null or - * severity is null. + * (unchecked exception) Thrown if {@code reason} is null or + * {@code severity} is null. * @throws ClassCastException - * (unchecked exception) Thrown if reason is not an + * (unchecked exception) Thrown if {@code reason} is not an * instance of class {@link PrinterStateReason PrinterStateReason} or if - * severity is not an instance of class {@link Severity + * {@code severity} is not an instance of class {@link Severity * Severity}. * @since 1.5 */ @@ -201,7 +201,7 @@ * instance. *

* For class PrinterStateReasons, the - * category name is "printer-state-reasons". + * category name is {@code "printer-state-reasons"}. * * @return Attribute category name. */ @@ -228,7 +228,7 @@ * Severity} level. * * @exception NullPointerException - * (unchecked exception) Thrown if severity is null. + * (unchecked exception) Thrown if {@code severity} is null. */ public Set printerStateReasonSet(Severity severity) { if (severity == null) {