mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 09:50:57 +07:00
20 lines
343 B
Java
20 lines
343 B
Java
// "Remove 'unchecked' suppression" "false"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
static <T> List<T> foo1(T... t){
|
|
return null;
|
|
}
|
|
|
|
void foo() {
|
|
//noinspection unc<caret>hecked
|
|
foo(new ArrayList<String>()).addAll(foo1(new ArrayList<String>()));
|
|
}
|
|
}
|
|
|