Changed EMPTY_LIST to emptyList()
This commit is contained in:
parent
ad46bb9b6e
commit
67bb0ebee7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user