5109918: Wrong documentation for JSpinner.DateEditor constructor
Reviewed-by: alexsch, azvegint
--- a/jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java Wed May 13 18:06:19 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java Wed May 13 19:19:03 2015 +0300
@@ -970,7 +970,7 @@
* and editing the value of a <code>SpinnerDateModel</code>
* with a <code>JFormattedTextField</code>. <code>This</code>
* <code>DateEditor</code> becomes both a <code>ChangeListener</code>
- * on the spinners model and a <code>PropertyChangeListener</code>
+ * on the spinner and a <code>PropertyChangeListener</code>
* on the new <code>JFormattedTextField</code>.
*
* @param spinner the spinner whose model <code>this</code> editor will monitor