RFR: 8348303: Remove repeated 'a' from ListSelectionEvent
Alexander Zuev
kizune at openjdk.org
Wed Jan 22 23:50:46 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.
Marked as reviewed by kizune (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/23240#pullrequestreview-2568523049
More information about the client-libs-dev
mailing list