6646604: Typos in documentation
authorserb
Sat, 26 Sep 2015 20:54:52 +0300
changeset 32871 f013b86386e6
parent 32870 b73c8ff78c80
child 32872 abca6234313d
6646604: Typos in documentation Reviewed-by: azvegint, amenkov
jdk/src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java
jdk/src/java.desktop/share/classes/javax/sound/midi/Synthesizer.java
jdk/src/java.desktop/share/classes/javax/sound/midi/SysexMessage.java
jdk/src/java.desktop/share/classes/javax/sound/sampled/AudioInputStream.java
jdk/src/java.desktop/share/classes/javax/sound/sampled/LineEvent.java
jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
--- a/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java	Sat Sep 26 20:54:52 2015 +0300
@@ -335,7 +335,7 @@
         /**
          * Obtains the version of the device.
          *
-         * @return textual version information for the device.
+         * @return textual version information for the device
          */
         public final String getVersion() {
             return version;
--- a/jdk/src/java.desktop/share/classes/javax/sound/midi/Synthesizer.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/sound/midi/Synthesizer.java	Sat Sep 26 20:54:52 2015 +0300
@@ -344,7 +344,7 @@
      * Opens the receiver.
      *
      * @throws MidiUnavailableException if the receiver is cannot be opened,
-     *         usually because the MIDI device is in use by another application.
+     *         usually because the MIDI device is in use by another application
      * @throws SecurityException if the receiver cannot be opened due to
      *         security restrictions
      */
--- a/jdk/src/java.desktop/share/classes/javax/sound/midi/SysexMessage.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/sound/midi/SysexMessage.java	Sat Sep 26 20:54:52 2015 +0300
@@ -124,7 +124,7 @@
      *         including the status byte; it should be non-negative and less
      *         than or equal to {@code data.length}
      * @throws InvalidMidiDataException if the parameter values do not specify a
-     *         valid MIDI meta message.
+     *         valid MIDI meta message
      * @see #setMessage(byte[], int)
      * @see #setMessage(int, byte[], int)
      * @see #getData()
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/AudioInputStream.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/sound/sampled/AudioInputStream.java	Sat Sep 26 20:54:52 2015 +0300
@@ -392,7 +392,7 @@
      * Marks the current position in this audio input stream.
      *
      * @param  readlimit the maximum number of bytes that can be read before the
-     *         mark position becomes invalid.
+     *         mark position becomes invalid
      * @see #reset
      * @see #markSupported
      */
--- a/jdk/src/java.desktop/share/classes/javax/sound/sampled/LineEvent.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/sound/sampled/LineEvent.java	Sat Sep 26 20:54:52 2015 +0300
@@ -82,7 +82,7 @@
      * @param  position the number of sample frames that the line had already
      *         processed when the event occurred, or
      *         {@link AudioSystem#NOT_SPECIFIED}
-     * @throws IllegalArgumentException if {@code line} is {@code null}.
+     * @throws IllegalArgumentException if {@code line} is {@code null}
      */
     public LineEvent(Line line, Type type, long position) {
 
--- a/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html	Fri Sep 25 00:15:58 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html	Sat Sep 26 20:54:52 2015 +0300
@@ -105,7 +105,7 @@
       <dd>Unique identifier for the style.</dd>
       <dt><a name="style.clone"><samp>clone</samp></a></dt>
       <dd>Identifier of a previously defined style that is copied
-	    and used for the new style. This provides a conveniant
+	    and used for the new style. This provides a convenient
 	    mechanism for overriding only a portion of an existing
 	    style.</dd>
     </dl>