<i18n dev> RFR: 8285306: Fix typos in java.desktop [v10]
Alexey Ivanov
aivanov at openjdk.org
Thu Sep 22 20:22:48 UTC 2022
On Thu, 22 Sep 2022 16:59:34 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> src/java.desktop/share/classes/sun/awt/SunToolkit.java line 1434:
>>
>>> 1432:
>>> 1433: /**
>>> 1434: * Parameterless version of realsync which uses default timeout (see DEFAULT_WAIT_TIME).
>>
>> Suggestion:
>>
>> * Parameterless version of realsync which uses the {@link #DEFAULT_WAIT_TIME default timeout}.
>>
>> I mean this suggestion [might not be warranted](https://github.com/openjdk/jdk/pull/8328/files#r872596373).
>
> I'm for a clearer message:
>
> Parameterless version of `{@code realsSync}` which uses _the_ default timeout of `{@link #DEFAULT_WAIT_TIME}`.
>
> Let us address this in a separate issue.
[JDK-8294255](https://bugs.openjdk.org/browse/JDK-8294255): Add link to DEFAULT_WAIT_TIME in javadoc for SunToolKit.realsSync
Feel free to provide a patch.
-------------
PR: https://git.openjdk.org/jdk/pull/8328
More information about the i18n-dev
mailing list