classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: API doc fixes in javax.swing.event.* package


From: David Gilbert
Subject: [cp-patches] FYI: API doc fixes in javax.swing.event.* package
Date: Thu, 21 Jul 2005 17:23:34 +0000
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050426)

I committed this patch:

2005-07-21  David Gilbert  <address@hidden>

        * javax/swing/event/EventListenerList.java: API doc fixes,
        * javax/swing/event/MenuKeyEvent.java: likewise,
        * javax/swing/event/TreeSelectionEvent.java: likewise.

Regards,

Dave Gilbert

Index: javax/swing/event/EventListenerList.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/event/EventListenerList.java,v
retrieving revision 1.11
diff -u -r1.11 EventListenerList.java
--- javax/swing/event/EventListenerList.java    2 Jul 2005 20:32:50 -0000       
1.11
+++ javax/swing/event/EventListenerList.java    21 Jul 2005 16:21:20 -0000
@@ -133,7 +133,7 @@
    * @throws IllegalArgumentException if <code>listener</code> is not
    * an instance of <code>t</code> (or a subclass thereof).
    *
-   * @throws Exception if <code>t</code> is <code>null</code>.
+   * @throws NullPointerException if <code>t</code> is <code>null</code>.
    */
   public void add(Class t, EventListener listener)
   {
@@ -246,7 +246,7 @@
    * @throws IllegalArgumentException if <code>listener</code> is not
    * an instance of <code>t</code> (or a subclass thereof).
    *
-   * @throws Exception if <code>t</code> is <code>null</code>.
+   * @throws NullPointerException if <code>t</code> is <code>null</code>.
    */
   public void remove(Class t, EventListener listener)
   {
Index: javax/swing/event/MenuKeyEvent.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/event/MenuKeyEvent.java,v
retrieving revision 1.3
diff -u -r1.3 MenuKeyEvent.java
--- javax/swing/event/MenuKeyEvent.java 2 Jul 2005 20:32:50 -0000       1.3
+++ javax/swing/event/MenuKeyEvent.java 21 Jul 2005 16:21:20 -0000
@@ -76,7 +76,7 @@
         * @param when Time
         * @param modifiers Modifier keys
         * @param keyCode Key code
-        * @param keyhar Key char
+        * @param keyChar Key char
         * @param path Path
         * @param manager MenuSelectionManager
         */
Index: javax/swing/event/TreeSelectionEvent.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/event/TreeSelectionEvent.java,v
retrieving revision 1.6
diff -u -r1.6 TreeSelectionEvent.java
--- javax/swing/event/TreeSelectionEvent.java   2 Jul 2005 20:32:50 -0000       
1.6
+++ javax/swing/event/TreeSelectionEvent.java   21 Jul 2005 16:21:20 -0000
@@ -100,8 +100,8 @@
   /**
    * Constructor TreeSelectionEvent
    * @param source TODO
-   * @param paths TODO
-   * @param areNew TODO
+   * @param path TODO
+   * @param isNew TODO
    * @param oldLeadSelectionPath TODO
    * @param newLeadSelectionPath TODO
    */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]