< prev index next >

src/java.desktop/share/classes/javax/print/attribute/URISyntax.java

Print this page

        

@@ -50,11 +50,11 @@
      * Constructs a URI attribute with the specified URI.
      *
      * @param  uri  URI.
      *
      * @exception  NullPointerException
-     *     (unchecked exception) Thrown if <CODE>uri</CODE> is null.
+     *     (unchecked exception) Thrown if {@code uri} is null.
      */
     protected URISyntax(URI uri) {
         this.uri = verify (uri);
     }
 

@@ -86,21 +86,21 @@
      * Returns whether this URI 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 URISyntax.
+     * {@code object} is an instance of class URISyntax.
      * <LI>
-     * This URI attribute's underlying URI and <CODE>object</CODE>'s
+     * This URI attribute's underlying URI and {@code object}'s
      * underlying URI are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this URI
+     * @return  True if {@code object} is equivalent to this URI
      *          attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return(object != null &&
                object instanceof URISyntax &&
< prev index next >