changeset 12794:437d366c0cef

6646604: Typos in documentation Reviewed-by: azvegint, amenkov
author serb
date Sat, 26 Sep 2015 20:54:52 +0300
parents d00ef4b0a33b
children 50f6ebfb7890
files src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java src/java.desktop/share/classes/javax/sound/midi/Synthesizer.java src/java.desktop/share/classes/javax/sound/midi/SysexMessage.java src/java.desktop/share/classes/javax/sound/sampled/AudioInputStream.java src/java.desktop/share/classes/javax/sound/sampled/LineEvent.java src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/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/src/java.desktop/share/classes/javax/sound/midi/Synthesizer.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/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/src/java.desktop/share/classes/javax/sound/midi/SysexMessage.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/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/src/java.desktop/share/classes/javax/sound/sampled/AudioInputStream.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/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/src/java.desktop/share/classes/javax/sound/sampled/LineEvent.java	Fri Sep 25 00:15:58 2015 +0300
+++ b/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/src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html	Fri Sep 25 00:15:58 2015 +0300
+++ b/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>