# HG changeset patch # User kaddepalli # Date 1546568799 -19800 # Node ID 450c1abf9c629175f3363496a06c44bf69a478f5 # Parent 9eee0b14800203363d68fa72d1bf25b9079173af 8215910: Typo in AWT InvocationEvent Method Documentation. Reviewed-by: serb, aivanov diff -r 9eee0b148002 -r 450c1abf9c62 src/java.desktop/share/classes/java/awt/event/InvocationEvent.java --- 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. *

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. *

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. *

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