From 45b0f3d53e3340fdc90821c86f6de4e579095bfb Mon Sep 17 00:00:00 2001 From: Alexander Stepanov Date: Fri, 4 Apr 2014 15:43:10 +0400 Subject: [PATCH] 8039074: Tidy warnings cleanup for javax.swing Reviewed-by: pchelko, alexsch --- .../share/classes/javax/swing/JComboBox.java | 2 +- jdk/src/share/classes/javax/swing/JFrame.java | 2 +- jdk/src/share/classes/javax/swing/JList.java | 2 +- .../classes/javax/swing/JOptionPane.java | 2 +- jdk/src/share/classes/javax/swing/JTable.java | 4 +- .../share/classes/javax/swing/RowSorter.java | 8 +-- .../classes/javax/swing/SpringLayout.java | 6 +- .../javax/swing/plaf/basic/BasicButtonUI.java | 2 +- .../swing/plaf/basic/BasicColorChooserUI.java | 2 +- .../swing/plaf/basic/BasicMenuItemUI.java | 2 +- .../swing/plaf/basic/BasicToggleButtonUI.java | 1 - .../plaf/basic/BasicToolBarSeparatorUI.java | 1 - .../swing/plaf/basic/BasicToolBarUI.java | 1 - .../swing/plaf/basic/BasicToolTipUI.java | 1 - .../javax/swing/plaf/basic/BasicTreeUI.java | 1 - .../plaf/metal/MetalInternalFrameUI.java | 1 - .../swing/plaf/metal/MetalScrollBarUI.java | 1 - .../swing/plaf/metal/MetalToolBarUI.java | 1 - .../plaf/nimbus/doc-files/properties.html | 4 +- .../synth/doc-files/componentProperties.html | 58 +++++++++---------- .../plaf/synth/doc-files/synthFileFormat.html | 6 +- .../classes/javax/swing/text/GlyphView.java | 1 - .../javax/swing/text/StyleConstants.java | 1 - .../share/classes/javax/swing/text/View.java | 1 - .../javax/swing/text/html/StyleSheet.java | 2 +- .../javax/swing/undo/UndoableEdit.java | 2 +- 26 files changed, 52 insertions(+), 63 deletions(-) diff --git a/jdk/src/share/classes/javax/swing/JComboBox.java b/jdk/src/share/classes/javax/swing/JComboBox.java index 937c13376cc..ceec992b31d 100644 --- a/jdk/src/share/classes/javax/swing/JComboBox.java +++ b/jdk/src/share/classes/javax/swing/JComboBox.java @@ -65,7 +65,7 @@ import javax.accessibility.*; * See How to Use Combo Boxes * in The Java Tutorial * for further information. - *

+ * * @see ComboBoxModel * @see DefaultComboBoxModel * diff --git a/jdk/src/share/classes/javax/swing/JFrame.java b/jdk/src/share/classes/javax/swing/JFrame.java index 2077eb76249..c773a3b66a8 100644 --- a/jdk/src/share/classes/javax/swing/JFrame.java +++ b/jdk/src/share/classes/javax/swing/JFrame.java @@ -123,7 +123,7 @@ public class JFrame extends Frame implements WindowConstants, * has this set as the close operation and is closed in an applet, * a SecurityException may be thrown. * It is recommended you only use this in an application. - *

+ * * @since 1.3 */ public static final int EXIT_ON_CLOSE = 3; diff --git a/jdk/src/share/classes/javax/swing/JList.java b/jdk/src/share/classes/javax/swing/JList.java index 6503887247e..8088396fcc3 100644 --- a/jdk/src/share/classes/javax/swing/JList.java +++ b/jdk/src/share/classes/javax/swing/JList.java @@ -260,7 +260,7 @@ import static sun.swing.SwingUtilities2.Section.*; * See How to Use Lists * in The Java Tutorial * for further documentation. - *

+ * * @see ListModel * @see AbstractListModel * @see DefaultListModel diff --git a/jdk/src/share/classes/javax/swing/JOptionPane.java b/jdk/src/share/classes/javax/swing/JOptionPane.java index 58d38669e9c..e3458d037c0 100644 --- a/jdk/src/share/classes/javax/swing/JOptionPane.java +++ b/jdk/src/share/classes/javax/swing/JOptionPane.java @@ -259,7 +259,7 @@ import static javax.swing.ClientPropertyKey.PopupFactory_FORCE_HEAVYWEIGHT_POPUP * "Choose one", "Input", * JOptionPane.INFORMATION_MESSAGE, null, * possibleValues, possibleValues[0]); - *

+ * * * Direct Use:
* To create and use an JOptionPane directly, the diff --git a/jdk/src/share/classes/javax/swing/JTable.java b/jdk/src/share/classes/javax/swing/JTable.java index e811fa80d5a..089da6c4e30 100644 --- a/jdk/src/share/classes/javax/swing/JTable.java +++ b/jdk/src/share/classes/javax/swing/JTable.java @@ -661,7 +661,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable * with the following code: * *

((Vector)rowData.elementAt(1)).elementAt(5);
- *

+ * * @param rowData the data for the new table * @param columnNames names of each column */ @@ -678,7 +678,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable *

 rowData[1][5]; 
*

* All rows must be of the same length as columnNames. - *

+ * * @param rowData the data for the new table * @param columnNames names of each column */ diff --git a/jdk/src/share/classes/javax/swing/RowSorter.java b/jdk/src/share/classes/javax/swing/RowSorter.java index bd375a779f6..5ca809e82a1 100644 --- a/jdk/src/share/classes/javax/swing/RowSorter.java +++ b/jdk/src/share/classes/javax/swing/RowSorter.java @@ -42,10 +42,10 @@ import java.util.*; *

* The view invokes the following methods on the RowSorter: *