mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
16 lines
367 B
Java
16 lines
367 B
Java
import java.util.Map;
|
|
import java.util.List;
|
|
import java.util.ArrayList;
|
|
|
|
class Clazz {
|
|
void f(Map<Integer,String> map) {
|
|
Number n = new Integer(3);
|
|
if (map.containsKey(n)) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
void foo(List<? extends Number> c) {
|
|
c.contains(<warning descr="'List<? extends Number>' may not contain objects of type 'String'">""</warning>);
|
|
}
|
|
} |