mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
16 lines
282 B
Java
16 lines
282 B
Java
// "Remove 'unchecked' suppression" "true"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
@SuppressWarnings("unchecked")
|
|
void fo<caret>o() {
|
|
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|