Community
Participate
Working Groups
Created attachment 189638 [details] Fix & test HEAD The "Replace with Collections.empty*()" quick fix can need explicit type arguments in some cases: package p; import java.util.*; public class C { public C(List<String> list) { } public void bar(Map<String, Integer> map) { } void foo() { new C(Collections.EMPTY_LIST); bar(Collections.EMPTY_MAP); Set<String> var= Collections.EMPTY_SET; } }
Fixed in HEAD.