mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
16 lines
309 B
Java
16 lines
309 B
Java
// "Remove 'unchecked' suppression" "true-preview"
|
|
import java.util.*;
|
|
|
|
@SuppressWarnings({"unch<caret>ecked", "bla-blah-toolid"})
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
void foo() {
|
|
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|