mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
18 lines
299 B
Java
18 lines
299 B
Java
// "Remove 'unchecked' suppression" "true-preview"
|
|
import java.util.*;
|
|
|
|
/**
|
|
* @noinspection a1,unch<caret>ecked, b2
|
|
*/
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
void foo() {
|
|
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|