mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
19 lines
402 B
Java
19 lines
402 B
Java
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
|
|
private static <E> void <warning descr="Private method 'x(java.util.Collection<E>)' is never used">x</warning>(Collection<E> collection) {
|
|
System.out.println(collection);
|
|
}
|
|
|
|
private static <E> void x(List<E> list) {
|
|
System.out.println(list);
|
|
}
|
|
|
|
public static void main(List list) {
|
|
Test.<Object[]>x(list);
|
|
}
|
|
}
|