RFR: 8294807: Fix typos and clarify javadoc for SunToolKit.realsSync
Alexey Ivanov
aivanov at openjdk.org
Tue Oct 4 20:29:56 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 1481:
> 1479: * focus events, which then generate a series of paint events,
> 1480: * a series of Java focus events, which then generate
> 1481: * a series of paint events which then are processed —
The only change here is I added the link to `requestFocus` and replaced hyphen with mdash. I re-flowed the text for easier reading in the source code.
Probably, this text could be improved…
-------------
PR: https://git.openjdk.org/jdk/pull/10563
More information about the client-libs-dev
mailing list