Integrated: 8348308: Make fields of ListSelectionEvent final

Alexey Ivanov aivanov at openjdk.org
Thu Jan 23 10:55:55 UTC 2025


On Wed, 22 Jan 2025 20:20:28 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> The fields of `ListSelectionEvent` are set in the constructor and are never modified, mark the fields — `firstIndex`, `lastIndex`, `isAdjusting` — with the `final` modifier.

This pull request has now been integrated.

Changeset: 89bfcb8d
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/89bfcb8db0877b89e9ac41f8330eb0a692ed77ae
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8348308: Make fields of ListSelectionEvent final

Reviewed-by: honkar, azvegint

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

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


More information about the client-libs-dev mailing list