jdk/src/java.desktop/share/classes/java/awt/Adjustable.java
changeset 35667 ed476aba94de
parent 25859 3317bb8137f4
--- a/jdk/src/java.desktop/share/classes/java/awt/Adjustable.java	Mon Jan 11 06:10:32 2016 -0800
+++ b/jdk/src/java.desktop/share/classes/java/awt/Adjustable.java	Mon Jan 11 17:51:54 2016 +0300
@@ -39,25 +39,25 @@
 public interface Adjustable {
 
     /**
-     * Indicates that the <code>Adjustable</code> has horizontal orientation.
+     * Indicates that the {@code Adjustable} has horizontal orientation.
      */
     @Native public static final int HORIZONTAL = 0;
 
     /**
-     * Indicates that the <code>Adjustable</code> has vertical orientation.
+     * Indicates that the {@code Adjustable} has vertical orientation.
      */
     @Native public static final int VERTICAL = 1;
 
     /**
-     * Indicates that the <code>Adjustable</code> has no orientation.
+     * Indicates that the {@code Adjustable} has no orientation.
      */
     @Native public static final int NO_ORIENTATION = 2;
 
     /**
      * Gets the orientation of the adjustable object.
      * @return the orientation of the adjustable object;
-     *   either <code>HORIZONTAL</code>, <code>VERTICAL</code>,
-     *   or <code>NO_ORIENTATION</code>
+     *   either {@code HORIZONTAL}, {@code VERTICAL},
+     *   or {@code NO_ORIENTATION}
      */
     int getOrientation();
 
@@ -124,15 +124,15 @@
 
     /**
      * Sets the current value of the adjustable object. If
-     * the value supplied is less than <code>minimum</code>
-     * or greater than <code>maximum</code> - <code>visibleAmount</code>,
+     * the value supplied is less than {@code minimum}
+     * or greater than {@code maximum} - {@code visibleAmount},
      * then one of those values is substituted, as appropriate.
      * <p>
      * Calling this method does not fire an
-     * <code>AdjustmentEvent</code>.
+     * {@code AdjustmentEvent}.
      *
-     * @param v the current value, between <code>minimum</code>
-     *    and <code>maximum</code> - <code>visibleAmount</code>
+     * @param v the current value, between {@code minimum}
+     *    and {@code maximum} - {@code visibleAmount}
      */
     void setValue(int v);