Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8157322

Several typos in javadoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • None
    • client-libs
    • b124

      a/src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStream.java
      - * as 0s. The byte-aligned write then starts at the next byte position.
      + * as 0s. The byte-aligned write then starts at the next byte position.

      - * converts this {@code double} value to an {@code long}
      + * converts this {@code double} value to a {@code long}


      a/src/java.desktop/share/classes/javax/sound/sampled/EnumControl.java
      - * A {@code EnumControl} provides control over a set of discrete possible values
      - * , each represented by an object. In a graphical user interface, such a
      + * An {@code EnumControl} provides control over a set of discrete possible
      + * values, each represented by an object. In a graphical user interface, such a


      a/src/java.desktop/share/classes/javax/swing/LookAndFeel.java
      - * Creates a {@code InputMapUIResource} from <code>keys</code>. This is
      + * Creates an {@code InputMapUIResource} from <code>keys</code>. This is


      a/src/java.desktop/share/classes/javax/swing/BorderFactory.java
      - * Creates a line border withe the specified color.
      + * Creates a line border with the specified color.


      a/src/java.desktop/share/classes/javax/swing/GroupLayout.java
      - * {@code SwingConstans.VERTICAL}
      + * {@code SwingConstants.VERTICAL}

      And a few other typos.

            dmarkov Dmitry Markov
            dmarkov Dmitry Markov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: