< prev index next >

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

Print this page

        

@@ -35,11 +35,11 @@
  * is informative, not a service guarantee. Generally, it is the value used in
  * the marketing literature to describe the device. A value of 0 indicates a
  * device that takes more than two minutes to process a page.
  * <P>
  * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
- * category name returned by <CODE>getName()</CODE> gives the IPP attribute
+ * category name returned by {@code getName()} gives the IPP attribute
  * name.
  *
  * @author  Alan Kaminsky
  */
 public final class PagesPerMinute extends IntegerSyntax

@@ -52,11 +52,11 @@
      * value.
      *
      * @param  value  Integer value.
      *
      * @exception  IllegalArgumentException
-     *   (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.
+     *   (Unchecked exception) Thrown if {@code value} is less than 0.
      */
     public PagesPerMinute(int value) {
         super(value, 0, Integer.MAX_VALUE);
     }
 

@@ -64,21 +64,21 @@
      * Returns whether this pages per minute attribute is equivalent to the
      * passed in object. To be equivalent, all of the following conditions
      * must be true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class PagesPerMinute.
+     * {@code object} is an instance of class PagesPerMinute.
      * <LI>
-     * This pages per minute attribute's value and <CODE>object</CODE>'s
+     * This pages per minute attribute's value and {@code object}'s
      * value are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this pages per
+     * @return  True if {@code object} is equivalent to this pages per
      *          minute attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return (super.equals (object) &&
                 object instanceof PagesPerMinute);

@@ -100,11 +100,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class PagesPerMinute, the
-     * category name is <CODE>"pages-per-minute"</CODE>.
+     * category name is {@code "pages-per-minute"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "pages-per-minute";
< prev index next >