8039259: Tidy warnings cleanup for java.awt
Reviewed-by: serb, pchelko
Contributed-by: Alexander Stepanov <alexander.v.stepanov@oracle.com>
--- a/jdk/src/share/classes/java/awt/BorderLayout.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/BorderLayout.java Fri Apr 04 18:16:50 2014 +0400
@@ -115,7 +115,7 @@
* }
* }
* </pre></blockquote><hr>
- * <p>
+ *
* @author Arthur van Hoff
* @see java.awt.Container#add(String, Component)
* @see java.awt.ComponentOrientation
@@ -414,8 +414,7 @@
* the component is added to the layout.
* @see java.awt.Container#add(java.awt.Component, java.lang.Object)
* @exception IllegalArgumentException if the constraint object is not
- * a string, or if it not one of the five specified
- * constants.
+ * a string, or if it not one of the five specified constants.
* @since JDK1.1
*/
public void addLayoutComponent(Component comp, Object constraints) {
--- a/jdk/src/share/classes/java/awt/CheckboxGroup.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/CheckboxGroup.java Fri Apr 04 18:16:50 2014 +0400
@@ -49,7 +49,7 @@
* <img src="doc-files/CheckboxGroup-1.gif"
* alt="Shows three checkboxes, arranged vertically, labeled one, two, and three. Checkbox one is in the on state."
* style="float:center; margin: 7px 10px;">
- * <p>
+ *
* @author Sami Shaio
* @see java.awt.Checkbox
* @since JDK1.0
--- a/jdk/src/share/classes/java/awt/Choice.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/Choice.java Fri Apr 04 18:16:50 2014 +0400
@@ -65,7 +65,7 @@
* Native GUI <code>Choice</code> components' size are often bound by such
* attributes as font size and length of items contained within
* the <code>Choice</code>.
- * <p>
+ *
* @author Sami Shaio
* @author Arthur van Hoff
* @since JDK1.0
--- a/jdk/src/share/classes/java/awt/EventQueue.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/EventQueue.java Fri Apr 04 18:16:50 2014 +0400
@@ -680,7 +680,7 @@
* <td>No action (ignored)</td>
* </tr>
* </table>
- * <p>
+ *
* @param event an instance of <code>java.awt.AWTEvent</code>,
* or a subclass of it
* @throws NullPointerException if <code>event</code> is <code>null</code>
@@ -1015,7 +1015,6 @@
* methods to execute a task in
* {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s
* dispatch thread.
- * <p>
*
* @return true if running in
* {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s
--- a/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/GridBagLayoutInfo.java Fri Apr 04 18:16:50 2014 +0400
@@ -29,7 +29,7 @@
* The {@code GridBagLayoutInfo} is an utility class for
* {@code GridBagLayout} layout manager.
* It stores align, size and baseline parameters for every component within a container.
- * <p>
+ *
* @see java.awt.GridBagLayout
* @see java.awt.GridBagConstraints
* @since 1.6
--- a/jdk/src/share/classes/java/awt/Robot.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/Robot.java Fri Apr 04 18:16:50 2014 +0400
@@ -76,7 +76,6 @@
/**
* Constructs a Robot object in the coordinate system of the primary screen.
- * <p>
*
* @throws AWTException if the platform configuration does not allow
* low-level input control. This exception is always thrown when
--- a/jdk/src/share/classes/java/awt/TextArea.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/TextArea.java Fri Apr 04 18:16:50 2014 +0400
@@ -49,7 +49,7 @@
* <hr><blockquote><pre>
* new TextArea("Hello", 5, 40);
* </pre></blockquote><hr>
- * <p>
+ *
* @author Sami Shaio
* @since JDK1.0
*/
--- a/jdk/src/share/classes/java/awt/Toolkit.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/Toolkit.java Fri Apr 04 18:16:50 2014 +0400
@@ -2590,7 +2590,7 @@
* If not set by the time of the {@code Toolkit} class initialization, this property will be
* initialized with {@code true}.
* Changing this value after the {@code Toolkit} class initialization will have no effect.
- * <p>
+ *
* @exception HeadlessException if GraphicsEnvironment.isHeadless() returns true
* @return {@code true} if events from extra mouse buttons are allowed to be processed and posted;
* {@code false} otherwise
--- a/jdk/src/share/classes/java/awt/TrayIcon.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/TrayIcon.java Fri Apr 04 18:16:50 2014 +0400
@@ -231,7 +231,7 @@
/**
* Sets the image for this <code>TrayIcon</code>. The previous
* tray icon image is discarded without calling the {@link
- * java.awt.Image#flush} method — you will need to call it
+ * java.awt.Image#flush} method — you will need to call it
* manually.
*
* <p> If the image represents an animated image, it will be
@@ -368,7 +368,7 @@
*
* <p> If auto-size is <code>false</code>, and the image size
* doesn't match the tray icon space, the image is painted as-is
- * inside that space — if larger than the allocated space, it will
+ * inside that space — if larger than the allocated space, it will
* be cropped.
*
* <p> If auto-size is <code>true</code>, the image is stretched or shrunk to
--- a/jdk/src/share/classes/java/awt/Window.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/Window.java Fri Apr 04 18:16:50 2014 +0400
@@ -2550,7 +2550,7 @@
* a non-focusable Window.
*
* Setting the focusability state on a visible {@code Window}
- * can have a delayed effect on some platforms — the actual
+ * can have a delayed effect on some platforms — the actual
* change may happen only when the {@code Window} becomes
* hidden and then visible again. To ensure consistent behavior
* across platforms, set the {@code Window}'s focusable state
--- a/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java Fri Apr 04 21:19:43 2014 +0800
+++ b/jdk/src/share/classes/java/awt/im/spi/InputMethodContext.java Fri Apr 04 18:16:50 2014 +0400
@@ -85,7 +85,7 @@
* <p>
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
* returned input method window when it is no longer needed.
- * <p>
+ *
* @param title the title to be displayed in the window's title bar,
* if there is such a title bar.
* A <code>null</code> value is treated as an empty string, "".
@@ -117,7 +117,7 @@
* <p>
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
* returned input method window when it is no longer needed.
- * <p>
+ *
* @param title the title to be displayed in the window's title bar,
* if there is such a title bar.
* A <code>null</code> value is treated as an empty string, "".