RFR: 8294807: Fix typos and clarify javadoc for SunToolKit.realsSync

Alexey Ivanov aivanov at openjdk.org
Tue Oct 4 20:28:28 UTC 2022


On Tue, 4 Oct 2022 20:21:10 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> I fixed the typo “serie” → "series" which was highlighted by a spellchecker.
> 
> I also simplified the description, fixed the grammar, added `{@code}` around types, added link to `requestFocus` in the example.

src/java.desktop/share/classes/sun/awt/SunToolkit.java line 1451:

> 1449:      *
> 1450:      * <p> This method allows writing tests without explicit timeouts
> 1451:      * or waiting for some event.  Example:

Should it be “without _using_ … or waiting …”?  
Does “for an event” sound better?

-------------

PR: https://git.openjdk.org/jdk/pull/10563



More information about the client-libs-dev mailing list