--- old/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPrinterGraphicsConfig.java 2016-05-19 13:19:37.640466500 +0300 +++ new/src/java.desktop/macosx/classes/sun/lwawt/macosx/CPrinterGraphicsConfig.java 2016-05-19 13:19:36.616336500 +0300 @@ -166,8 +166,7 @@ } /** - * - * Returns a {@code AffineTransform} that can be concatenated + * Returns an {@code AffineTransform} that can be concatenated * with the default {@code AffineTransform} * of a {@code GraphicsConfiguration} so that 72 units in user * space equals 1 inch in device space. --- old/src/java.desktop/share/classes/com/sun/media/sound/AudioSynthesizerPropertyInfo.java 2016-05-19 13:19:43.965769700 +0300 +++ new/src/java.desktop/share/classes/com/sun/media/sound/AudioSynthesizerPropertyInfo.java 2016-05-19 13:19:42.942139800 +0300 @@ -32,7 +32,7 @@ public final class AudioSynthesizerPropertyInfo { /** - * Constructs a {@code AudioSynthesizerPropertyInfo} object with a given + * Constructs an {@code AudioSynthesizerPropertyInfo} object with a given * name and value. The {@code description} and {@code choices} * are initialized by {@code null} values. * --- old/src/java.desktop/share/classes/java/awt/GraphicsConfiguration.java 2016-05-19 13:19:48.599858200 +0300 +++ new/src/java.desktop/share/classes/java/awt/GraphicsConfiguration.java 2016-05-19 13:19:47.601731500 +0300 @@ -360,8 +360,7 @@ public abstract AffineTransform getDefaultTransform(); /** - * - * Returns a {@code AffineTransform} that can be concatenated + * Returns an {@code AffineTransform} that can be concatenated * with the default {@code AffineTransform} * of a {@code GraphicsConfiguration} so that 72 units in user * space equals 1 inch in device space. --- old/src/java.desktop/share/classes/java/awt/font/TransformAttribute.java 2016-05-19 13:19:53.317957300 +0300 +++ new/src/java.desktop/share/classes/java/awt/font/TransformAttribute.java 2016-05-19 13:19:52.304828700 +0300 @@ -74,7 +74,7 @@ /** * Returns a copy of the wrapped transform. - * @return a {@code AffineTransform} that is a copy of the wrapped + * @return an {@code AffineTransform} that is a copy of the wrapped * transform of this {@code TransformAttribute}. */ public AffineTransform getTransform() { --- old/src/java.desktop/share/classes/java/awt/image/renderable/ParameterBlock.java 2016-05-19 13:19:58.080062000 +0300 +++ new/src/java.desktop/share/classes/java/awt/image/renderable/ParameterBlock.java 2016-05-19 13:19:57.033429100 +0300 @@ -619,9 +619,9 @@ * * @param index the index of the parameter to be returned. * @return the parameter at the specified index - * as a {@code int} value. + * as an {@code int} value. * @throws ClassCastException if the parameter at the - * specified index is not a {@code Integer} + * specified index is not an {@code Integer} * @throws NullPointerException if the parameter at the specified * index is {@code null} * @throws ArrayIndexOutOfBoundsException if {@code index} --- old/src/java.desktop/share/classes/java/beans/Encoder.java 2016-05-19 13:20:02.716150700 +0300 +++ new/src/java.desktop/share/classes/java/beans/Encoder.java 2016-05-19 13:20:01.707522700 +0300 @@ -136,7 +136,7 @@ * a shared internal persistence delegate is returned * that encodes {@code null} value. *
--- old/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java 2016-05-19 13:20:12.008830800 +0300 +++ new/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java 2016-05-19 13:20:10.964698200 +0300 @@ -32,7 +32,7 @@ /** * A seekable input stream interface for use by - * {@code ImageReader}s. Various input sources, such as + * {@code ImageReader}s. Various input sources, such as * {@code InputStream}s and {@code File}s, * as well as future fast I/O sources may be "wrapped" by a suitable * implementation of this interface for use by the Image I/O API. @@ -469,7 +469,7 @@ * then a {@code UTFDataFormatException} is thrown. * *
If end of file is encountered at any time during this - * entire process, then an {@code java.io.EOFException} is thrown. + * entire process, then a {@code java.io.EOFException} is thrown. * *
After every group has been converted to a character by this * process, the characters are gathered, in the same order in @@ -499,7 +499,7 @@ /** * Reads {@code len} bytes from the stream, and stores them * into {@code b} starting at index {@code off}. - * If the end of the stream is reached, an {@code java.io.EOFException} + * If the end of the stream is reached, a {@code java.io.EOFException} * will be thrown. * *
The bit offset within the stream is reset to zero before @@ -523,7 +523,7 @@ /** * Reads {@code b.length} bytes from the stream, and stores them * into {@code b} starting at index {@code 0}. - * If the end of the stream is reached, an {@code java.io.EOFException} + * If the end of the stream is reached, a {@code java.io.EOFException} * will be thrown. * *
The bit offset within the stream is reset to zero before @@ -543,8 +543,8 @@ * Reads {@code len} shorts (signed 16-bit integers) from the * stream according to the current byte order, and * stores them into {@code s} starting at index - * {@code off}. If the end of the stream is reached, an - * {@code java.io.EOFException} will be thrown. + * {@code off}. If the end of the stream is reached, + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -568,8 +568,8 @@ * Reads {@code len} chars (unsigned 16-bit integers) from the * stream according to the current byte order, and * stores them into {@code c} starting at index - * {@code off}. If the end of the stream is reached, an - * {@code java.io.EOFException} will be thrown. + * {@code off}. If the end of the stream is reached, + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -593,8 +593,8 @@ * Reads {@code len} ints (signed 32-bit integers) from the * stream according to the current byte order, and * stores them into {@code i} starting at index - * {@code off}. If the end of the stream is reached, an - * {@code java.io.EOFException} will be thrown. + * {@code off}. If the end of the stream is reached, + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -618,8 +618,8 @@ * Reads {@code len} longs (signed 64-bit integers) from the * stream according to the current byte order, and * stores them into {@code l} starting at index - * {@code off}. If the end of the stream is reached, an - * {@code java.io.EOFException} will be thrown. + * {@code off}. If the end of the stream is reached, + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -644,7 +644,7 @@ * floats) from the stream according to the current byte order, * and stores them into {@code f} starting at * index {@code off}. If the end of the stream is reached, - * an {@code java.io.EOFException} will be thrown. + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -669,7 +669,7 @@ * floats) from the stream according to the current byte order, * and stores them into {@code d} starting at * index {@code off}. If the end of the stream is reached, - * an {@code java.io.EOFException} will be thrown. + * a {@code java.io.EOFException} will be thrown. * *
The bit offset within the stream is reset to zero before * the read occurs. @@ -781,7 +781,7 @@ * byte order is being used (i.e., {@code getByteOrder() == false}). * *
If the end of the stream is encountered before all the bits - * have been read, an {@code java.io.EOFException} is thrown. + * have been read, a {@code java.io.EOFException} is thrown. * * @param numBits the number of bits to read, as an {@code int} * between 0 and 64, inclusive. @@ -848,8 +848,8 @@ * {@code pos} is smaller than the flushed position (as * returned by {@code getflushedPosition}). * - *
It is legal to seek past the end of the file; an - * {@code java.io.EOFException} will be thrown only if a read is + *
It is legal to seek past the end of the file;
+ * a {@code java.io.EOFException} will be thrown only if a read is
* performed.
*
* @param pos a {@code long} containing the desired file
--- old/src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStream.java 2016-05-19 13:20:16.909453100 +0300
+++ new/src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStream.java 2016-05-19 13:20:15.600286800 +0300
@@ -44,7 +44,7 @@
* a non-zero bit offset before a byte-aligned read. When reading bytes,
* any bit offset is set to 0 before the read; when writing bytes, a
* non-zero bit offset causes the remaining bits in the byte to be written
- * 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.
*
* @see ImageInputStream
*
@@ -290,7 +290,7 @@
/**
* Writes a {@code double} value, which is comprised of four
* bytes, to the output stream. It does this as if it first
- * converts this {@code double} value to an {@code long}
+ * converts this {@code double} value to a {@code long}
* in exactly the manner of the
* {@code Double.doubleToLongBits} method and then writes the
* long value in exactly the manner of the {@code writeLong}
--- old/src/java.desktop/share/classes/javax/sound/sampled/EnumControl.java 2016-05-19 13:20:22.431654300 +0300
+++ new/src/java.desktop/share/classes/javax/sound/sampled/EnumControl.java 2016-05-19 13:20:21.218500200 +0300
@@ -26,8 +26,8 @@
package javax.sound.sampled;
/**
- * 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
* control might be represented by a set of buttons, each of which chooses one
* value or setting. For example, a reverb control might provide several preset
* reverberation settings, instead of providing continuously adjustable
--- old/src/java.desktop/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java 2016-05-19 13:20:27.840841200 +0300
+++ new/src/java.desktop/share/classes/javax/sound/sampled/UnsupportedAudioFileException.java 2016-05-19 13:20:26.641188800 +0300
@@ -38,7 +38,7 @@
private static final long serialVersionUID = -139127412623160368L;
/**
- * Constructs a {@code UnsupportedAudioFileException} that has {@code null}
+ * Constructs an {@code UnsupportedAudioFileException} that has {@code null}
* as its error detail message.
*/
public UnsupportedAudioFileException() {
@@ -46,7 +46,7 @@
}
/**
- * Constructs a {@code UnsupportedAudioFileException} that has the specified
+ * Constructs an {@code UnsupportedAudioFileException} that has the specified
* detail message.
*
* @param message a string containing the error detail message
--- old/src/java.desktop/share/classes/javax/swing/BorderFactory.java 2016-05-19 13:20:33.090007700 +0300
+++ new/src/java.desktop/share/classes/javax/swing/BorderFactory.java 2016-05-19 13:20:31.903357000 +0300
@@ -52,7 +52,7 @@
//// LineBorder ///////////////////////////////////////////////////////////////
/**
- * Creates a line border withe the specified color.
+ * Creates a line border with the specified color.
*
* @param color a Color
to use for the line
* @return the Border
object
--- old/src/java.desktop/share/classes/javax/swing/GroupLayout.java 2016-05-19 13:20:38.226159900 +0300
+++ new/src/java.desktop/share/classes/javax/swing/GroupLayout.java 2016-05-19 13:20:37.130020700 +0300
@@ -718,10 +718,10 @@
*
* Linked {@code Component}s are not be resizable.
*
- * @param components the {@code Component}s that are to have the same size
* @param axis the axis to link the size along; one of
* {@code SwingConstants.HORIZONTAL} or
- * {@code SwingConstans.VERTICAL}
+ * {@code SwingConstants.VERTICAL}
+ * @param components the {@code Component}s that are to have the same size
* @throws IllegalArgumentException if {@code components} is
* {@code null}, or contains {@code null}; or {@code axis}
* is not {@code SwingConstants.HORIZONTAL} or
--- old/src/java.desktop/share/classes/javax/swing/LookAndFeel.java 2016-05-19 13:20:43.633346600 +0300
+++ new/src/java.desktop/share/classes/javax/swing/LookAndFeel.java 2016-05-19 13:20:42.170660800 +0300
@@ -346,7 +346,7 @@
}
/**
- * Creates a {@code InputMapUIResource} from keys
. This is
+ * Creates an {@code InputMapUIResource} from keys
. This is
* a convenience method for creating a new {@code InputMapUIResource},
* invoking {@code loadKeyBindings(map, keys)}, and returning the
* {@code InputMapUIResource}.
--- old/src/java.desktop/share/classes/javax/swing/event/AncestorListener.java 2016-05-19 13:20:49.166049100 +0300
+++ new/src/java.desktop/share/classes/javax/swing/event/AncestorListener.java 2016-05-19 13:20:47.755870100 +0300
@@ -57,7 +57,7 @@
/**
* Called when the source or one of its ancestors is made invisible
* either by setVisible(false) being called or by its being
- * remove from the component hierarchy. The method is only called
+ * removed from the component hierarchy. The method is only called
* if the source has actually become invisible. For this to be true
* at least one of its parents must by invisible or it is not in
* a hierarchy rooted at a Window
--- old/src/java.desktop/share/classes/javax/swing/plaf/BorderUIResource.java 2016-05-19 13:20:53.857644900 +0300
+++ new/src/java.desktop/share/classes/javax/swing/plaf/BorderUIResource.java 2016-05-19 13:20:52.843516100 +0300
@@ -160,7 +160,7 @@
public static class EmptyBorderUIResource extends EmptyBorder implements UIResource {
/**
- * Constructs a {@code EmptyBorderUIResource}.
+ * Constructs an {@code EmptyBorderUIResource}.
* @param top the top inset of the border
* @param left the left inset of the border
* @param bottom the bottom inset of the border
@@ -170,7 +170,7 @@
super(top, left, bottom, right);
}
/**
- * Constructs a {@code EmptyBorderUIResource}.
+ * Constructs an {@code EmptyBorderUIResource}.
* @param insets the insets of the border
*/
@ConstructorProperties({"borderInsets"})