mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8215910: Typo in AWT InvocationEvent Method Documentation
Reviewed-by: serb, aivanov
This commit is contained in:
parent
6523aac141
commit
f2962e80b5
1 changed files with 15 additions and 15 deletions
|
@ -150,7 +150,7 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
|
||||
/**
|
||||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
|
||||
/**
|
||||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* @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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
|
||||
/**
|
||||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* @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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
|
||||
/**
|
||||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* 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 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
|
|||
* 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue