Skip to content

8348303: Remove repeated 'a' from ListSelectionEvent #3590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -111,7 +111,7 @@ public ListSelectionEvent(Object source, int firstIndex, int lastIndex,
* 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 =
Expand Down