7100004: javax.swing.JTable.setAutoCreateRowSorter(boolean autoCreateRowSorter) should mention default value
authorrupashka
Mon, 17 Oct 2011 16:40:34 +0400
changeset 10868 d134ad3bc135
parent 10867 bf858c670ee2
child 10869 df518de6f6fd
7100004: javax.swing.JTable.setAutoCreateRowSorter(boolean autoCreateRowSorter) should mention default value Reviewed-by: rupashka Contributed-by: alexandr.scherbatiy@oracle.com
jdk/src/share/classes/javax/swing/JTable.java
--- a/jdk/src/share/classes/javax/swing/JTable.java	Mon Oct 17 15:10:42 2011 +0400
+++ b/jdk/src/share/classes/javax/swing/JTable.java	Mon Oct 17 16:40:34 2011 +0400
@@ -1828,6 +1828,8 @@
      * table.  While the {@code autoCreateRowSorter} property remains
      * {@code true}, every time the model is changed, a new {@code
      * TableRowSorter} is created and set as the table's row sorter.
+     * The default value for the {@code autoCreateRowSorter}
+     * property is {@code false}.
      *
      * @param autoCreateRowSorter whether or not a {@code RowSorter}
      *        should be automatically created