Integrated: 8348303: Remove repeated 'a' from ListSelectionEvent
Alexey Ivanov
aivanov at openjdk.org
Thu Jan 23 10:55:55 UTC 2025
On Wed, 22 Jan 2025 17:16:11 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> A trivial change which removes repeated ‘a’ from the [javadoc for the `ListSelectionEvent` class](https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/event/ListSelectionEvent.html):
>
>> “The change is limited to **a a** single inclusive interval.”
>
> In addition to the above, I
> * expanded the wildcard imports,
> * marked up `firstIndex` and `lastIndex` with `{@code}` in the class constructor parameter description (for consistency), and
> * used a lower-case _“string”_¹ in the `@return` for `toString()` which aligns with the usage in [`Object.toString()`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#toString()).
>
> ¹ The word _“string”_ refers not to the `String` class but rather to a string in its literal meaning.
This pull request has now been integrated.
Changeset: 17df5151
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/17df51516aadf5ade73cf8d05c1be09772852b96
Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
8348303: Remove repeated 'a' from ListSelectionEvent
Reviewed-by: azvegint, honkar, dmarkov, prr, kizune
-------------
PR: https://git.openjdk.org/jdk/pull/23240
More information about the client-libs-dev
mailing list