Skip to content

Commit 17df515

Browse files
committed
8348303: Remove repeated 'a' from ListSelectionEvent
Reviewed-by: azvegint, honkar, dmarkov, prr, kizune
1 parent 337118d commit 17df515

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/java.desktop/share/classes/javax/swing/event/ListSelectionEvent.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -26,11 +26,11 @@
2626
package javax.swing.event;
2727

2828
import java.util.EventObject;
29-
import javax.swing.*;
29+
import javax.swing.ListSelectionModel;
3030

3131

3232
/**
33-
* An event that characterizes a change in selection. The change is limited to a
33+
* An event that characterizes a change in selection. The change is limited to
3434
* a single inclusive interval. The selection of at least one index within the
3535
* range will have changed. A decent {@code ListSelectionModel} implementation
3636
* will keep the range as small as possible. {@code ListSelectionListeners} will
@@ -64,8 +64,8 @@ public class ListSelectionEvent extends EventObject
6464
* have changed.
6565
*
6666
* @param source the {@code Object} on which the event initially occurred
67-
* @param firstIndex the first index in the range, <= lastIndex
68-
* @param lastIndex the last index in the range, >= firstIndex
67+
* @param firstIndex the first index in the range, <= {@code lastIndex}
68+
* @param lastIndex the last index in the range, >= {@code firstIndex}
6969
* @param isAdjusting whether or not this is one in a series of
7070
* multiple events, where changes are still being made
7171
*/
@@ -111,7 +111,7 @@ public ListSelectionEvent(Object source, int firstIndex, int lastIndex,
111111
* Returns a {@code String} that displays and identifies this
112112
* object's properties.
113113
*
114-
* @return a String representation of this object
114+
* @return a string representation of this object
115115
*/
116116
public String toString() {
117117
String properties =

0 commit comments

Comments
 (0)