mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
20 lines
344 B
Java
20 lines
344 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;
|
|
}
|
|
|
|
@SuppressWarnings("unche<caret>cked")
|
|
void foo() {
|
|
foo(new ArrayList<String>()).addAll(foo1(new ArrayList<String>);
|
|
}
|
|
}
|
|
|