This patch (committed) removes a NotImplementedException declaration that I left in by mistake with an earlier patch, and makes a couple of small changes to the API docs:

2006-03-27  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/JSlider.java
        (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
        (AccessibleJSlider.getAccessibleRole): Removed declaration of
        NotImplementedException,
        (AccessibleJSlider.getAccessibleValue): Updated API docs.

Regards,

Dave
Index: javax/swing/JSlider.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JSlider.java,v
retrieving revision 1.22
diff -u -r1.22 JSlider.java
--- javax/swing/JSlider.java    23 Mar 2006 17:16:23 -0000      1.22
+++ javax/swing/JSlider.java    27 Mar 2006 10:14:00 -0000
@@ -128,7 +128,7 @@
     private static final long serialVersionUID = -6301740148041106789L;
   
     /**
-     * Creates a new AccessibleJSlider object.
+     * Creates a new <code>AccessibleJSlider</code> instance.
      */
     protected AccessibleJSlider()
     {
@@ -157,13 +157,14 @@
      * @return [EMAIL PROTECTED] AccessibleRole#SLIDER}.
      */
     public AccessibleRole getAccessibleRole()
-      throws NotImplementedException
     {
       return AccessibleRole.SLIDER;
     }
 
     /**
-     * Returns an object that provides access to the accessible value.
+     * Returns an object that provides access to the current, minimum and 
+     * maximum values for the [EMAIL PROTECTED] JSlider}.  Since this class 
implements 
+     * [EMAIL PROTECTED] AccessibleValue}, it returns itself.
      *
      * @return The accessible value.
      */

Reply via email to