Collections.emptyList() vs. new instance
The main difference is that Collections.emptyList() returns an immutable list, i.e., a list to which you cannot add elements. (Same applies to the List.of() introduced in Java 9.) In the rare cases where you do want to modify the returned list, Collections.emptyList() and List.of() are thus not a good choices. I’d say that returning an … Read more