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