< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/PrinterStateReason.java

Print this page

        

@@ -54,14 +54,14 @@
  * condition becomes false, regardless of whether the Print Service's overall
  * {@link PrinterState PrinterState} also changed.
  * <P>
  * <B>IPP Compatibility:</B>
  * The string values returned by each individual {@link PrinterStateReason} and
- * associated {@link Severity} object's <CODE>toString()</CODE>
- * methods, concatenated together with a hyphen (<CODE>"-"</CODE>) in
+ * associated {@link Severity} object's {@code toString()}
+ * methods, concatenated together with a hyphen ({@code "-"}) in
  * between, gives the IPP keyword value for a {@link PrinterStateReasons}.
- * The category name returned by <CODE>getName()</CODE> gives the IPP
+ * The category name returned by {@code getName()} gives the IPP
  * attribute name.
  *
  * @author  Alan Kaminsky
  */
 public class PrinterStateReason extends EnumSyntax implements Attribute {

@@ -430,11 +430,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class PrinterStateReason and any vendor-defined subclasses, the
-     * category name is <CODE>"printer-state-reason"</CODE>.
+     * category name is {@code "printer-state-reason"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "printer-state-reason";
< prev index next >