Changed EMPTY_LIST to emptyList()

This commit is contained in:
Ray Clark 2022-10-04 20:14:43 +11:00 committed by GitHub
parent ad46bb9b6e
commit 67bb0ebee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ public class DocumentSelectionModel {
* @return the currently selected rocket components, or <code>null</code>.
*/
public List<RocketComponent> getSelectedComponents() {
if (componentSelection.size() == 0) return Collections.EMPTY_LIST;
if (componentSelection.size() == 0) return Collections.emptyList();
return componentSelection;
}