< prev index next >

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

Print this page

        

@@ -35,12 +35,12 @@
  * specified for a doc, the printer assumes the doc's print data is uncompressed
  * (i.e., the default Compression value is always {@link #NONE
  * NONE}).
  * <P>
  * <B>IPP Compatibility:</B> The category name returned by
- * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
- * integer value is the IPP enum value.  The <code>toString()</code> method
+ * {@code getName()} is the IPP attribute name.  The enumeration's
+ * integer value is the IPP enum value.  The {@code toString()} method
  * returns the IPP string representation of the attribute value.
  *
  * @author  Alan Kaminsky
  */
 public class Compression extends EnumSyntax implements DocAttribute {

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