changeset 54245:450c1abf9c62

8215910: Typo in AWT InvocationEvent Method Documentation. Reviewed-by: serb, aivanov
author kaddepalli
date Fri, 04 Jan 2019 07:56:39 +0530
parents 9eee0b148002
children 5ce51ae5c0e5
files src/java.desktop/share/classes/java/awt/event/InvocationEvent.java
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/java/awt/event/InvocationEvent.java	Thu Dec 20 12:44:41 2018 +0000
+++ b/src/java.desktop/share/classes/java/awt/event/InvocationEvent.java	Fri Jan 04 07:56:39 2019 +0530
@@ -150,7 +150,7 @@
 
     /**
      * Constructs an {@code InvocationEvent} with the specified
-     * source which will execute the runnable's {@code run}
+     * source which will execute the runnable's {@code run()}
      * method when dispatched.
      * <p>This is a convenience constructor.  An invocation of the form
      * {@code InvocationEvent(source, runnable)}
@@ -161,7 +161,7 @@
      * if {@code source} is {@code null}.
      *
      * @param source    The {@code Object} that originated the event
-     * @param runnable  The {@code Runnable} whose {@code run}
+     * @param runnable  The {@code Runnable} whose {@code run()}
      *                  method will be executed
      * @throws IllegalArgumentException if {@code source} is null
      *
@@ -174,10 +174,10 @@
 
     /**
      * Constructs an {@code InvocationEvent} with the specified
-     * source which will execute the runnable's {@code run}
+     * source which will execute the runnable's {@code run()}
      * method when dispatched.  If notifier is non-{@code null},
      * {@code notifyAll()} will be called on it
-     * immediately after {@code run} has returned or thrown an exception.
+     * immediately after {@code run()} has returned or thrown an exception.
      * <p>An invocation of the form
      * {@code InvocationEvent(source, runnable, notifier, catchThrowables)}
      * behaves in exactly the same way as the invocation of
@@ -189,7 +189,7 @@
      * @param source            The {@code Object} that originated
      *                          the event
      * @param runnable          The {@code Runnable} whose
-     *                          {@code run} method will be
+     *                          {@code run()} method will be
      *                          executed
      * @param notifier          The {@code Object} whose {@code notifyAll}
      *                          method will be called after
@@ -198,7 +198,7 @@
      *                          disposed
      * @param catchThrowables   Specifies whether {@code dispatch}
      *                          should catch Throwable when executing
-     *                          the {@code Runnable}'s {@code run}
+     *                          the {@code Runnable}'s {@code run()}
      *                          method, or should instead propagate those
      *                          Throwables to the EventDispatchThread's
      *                          dispatch loop
@@ -214,7 +214,7 @@
 
     /**
      * Constructs an {@code InvocationEvent} with the specified
-     * source which will execute the runnable's {@code run}
+     * source which will execute the runnable's {@code run()}
      * method when dispatched.  If listener is non-{@code null},
      * {@code listener.run()} will be called immediately after
      * {@code run} has returned, thrown an exception or the event
@@ -225,15 +225,15 @@
      * @param source            The {@code Object} that originated
      *                          the event
      * @param runnable          The {@code Runnable} whose
-     *                          {@code run} method will be
+     *                          {@code run()} method will be
      *                          executed
-     * @param listener          The {@code Runnable}Runnable whose
+     * @param listener          The {@code Runnable} whose
      *                          {@code run()} method will be called
      *                          after the {@code InvocationEvent}
      *                          was dispatched or disposed
      * @param catchThrowables   Specifies whether {@code dispatch}
      *                          should catch Throwable when executing
-     *                          the {@code Runnable}'s {@code run}
+     *                          the {@code Runnable}'s {@code run()}
      *                          method, or should instead propagate those
      *                          Throwables to the EventDispatchThread's
      *                          dispatch loop
@@ -246,10 +246,10 @@
 
     /**
      * Constructs an {@code InvocationEvent} with the specified
-     * source and ID which will execute the runnable's {@code run}
+     * source and ID which will execute the runnable's {@code run()}
      * method when dispatched.  If notifier is non-{@code null},
-     * {@code notifyAll} will be called on it immediately after
-     * {@code run} has returned or thrown an exception.
+     * {@code notifyAll()} will be called on it immediately after
+     * {@code run()} has returned or thrown an exception.
      * <p>This method throws an
      * {@code IllegalArgumentException} if {@code source}
      * is {@code null}.
@@ -260,7 +260,7 @@
      *                     For information on allowable values, see
      *                     the class description for {@link InvocationEvent}
      * @param runnable          The {@code Runnable} whose
-     *                          {@code run} method will be executed
+     *                          {@code run()} method will be executed
      * @param notifier          The {@code Object} whose {@code notifyAll}
      *                          method will be called after
      *                          {@code Runnable.run} has returned or
@@ -268,7 +268,7 @@
      *                          disposed
      * @param catchThrowables   Specifies whether {@code dispatch}
      *                          should catch Throwable when executing the
-     *                          {@code Runnable}'s {@code run}
+     *                          {@code Runnable}'s {@code run()}
      *                          method, or should instead propagate those
      *                          Throwables to the EventDispatchThread's
      *                          dispatch loop