This patch (committed) updates some of the API docs in the AbstractSpinnerModel 
class:

2006-09-12  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/AbstractSpinnerModel.java: API doc updates.

Regards,

Dave
Index: javax/swing/AbstractSpinnerModel.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/AbstractSpinnerModel.java,v
retrieving revision 1.6
diff -u -r1.6 AbstractSpinnerModel.java
--- javax/swing/AbstractSpinnerModel.java       1 Jul 2006 21:33:16 -0000       
1.6
+++ javax/swing/AbstractSpinnerModel.java       12 Sep 2006 09:13:11 -0000
@@ -1,5 +1,5 @@
 /* AbstractSpinnerModel.java --
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006, Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -47,6 +47,8 @@
 /**
  * Provides standard implementations for some of the methods in
  * [EMAIL PROTECTED] SpinnerModel}.
+ * 
+ * @since 1.4
  *
  * @author Ka-Hing Cheung
  */
@@ -54,6 +56,7 @@
 {
   private ChangeEvent changeEvent = new ChangeEvent(this);
   
+  /** Stores the listeners registered with the model. */
   protected EventListenerList listenerList = new EventListenerList();
 
   /**
@@ -65,9 +68,10 @@
   }
 
   /**
-   * Adds a <code>ChangeListener</code>.
+   * Registers a <code>ChangeListener</code> with the model so that it will
+   * receive [EMAIL PROTECTED] ChangeEvent} notifications when the model 
changes.
    *
-   * @param listener the listener to add
+   * @param listener the listener to add (<code>null</code> is ignored).
    */
   public void addChangeListener(ChangeListener listener)
   {

Reply via email to