mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8348308: Make fields of ListSelectionEvent final
Reviewed-by: honkar, azvegint
This commit is contained in:
parent
17df51516a
commit
89bfcb8db0
@ -53,9 +53,9 @@ import javax.swing.ListSelectionModel;
|
||||
@SuppressWarnings("serial") // Same-version serialization only
|
||||
public class ListSelectionEvent extends EventObject
|
||||
{
|
||||
private int firstIndex;
|
||||
private int lastIndex;
|
||||
private boolean isAdjusting;
|
||||
private final int firstIndex;
|
||||
private final int lastIndex;
|
||||
private final boolean isAdjusting;
|
||||
|
||||
/**
|
||||
* Represents a change in selection status between {@code firstIndex} and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user