mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-20 16:09:21 +00:00
8348303: Remove repeated 'a' from ListSelectionEvent
Reviewed-by: azvegint, honkar, dmarkov, prr, kizune
This commit is contained in:
parent
337118da6f
commit
17df51516a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,11 +26,11 @@
|
||||
package javax.swing.event;
|
||||
|
||||
import java.util.EventObject;
|
||||
import javax.swing.*;
|
||||
import javax.swing.ListSelectionModel;
|
||||
|
||||
|
||||
/**
|
||||
* An event that characterizes a change in selection. The change is limited to a
|
||||
* An event that characterizes a change in selection. The change is limited to
|
||||
* a single inclusive interval. The selection of at least one index within the
|
||||
* range will have changed. A decent {@code ListSelectionModel} implementation
|
||||
* will keep the range as small as possible. {@code ListSelectionListeners} will
|
||||
@ -64,8 +64,8 @@ public class ListSelectionEvent extends EventObject
|
||||
* have changed.
|
||||
*
|
||||
* @param source the {@code Object} on which the event initially occurred
|
||||
* @param firstIndex the first index in the range, <= lastIndex
|
||||
* @param lastIndex the last index in the range, >= firstIndex
|
||||
* @param firstIndex the first index in the range, <= {@code lastIndex}
|
||||
* @param lastIndex the last index in the range, >= {@code firstIndex}
|
||||
* @param isAdjusting whether or not this is one in a series of
|
||||
* multiple events, where changes are still being made
|
||||
*/
|
||||
@ -111,7 +111,7 @@ public class ListSelectionEvent extends EventObject
|
||||
* Returns a {@code String} that displays and identifies this
|
||||
* object's properties.
|
||||
*
|
||||
* @return a String representation of this object
|
||||
* @return a string representation of this object
|
||||
*/
|
||||
public String toString() {
|
||||
String properties =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user