mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 19:52:07 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
20 lines
314 B
Java
20 lines
314 B
Java
// "Remove 'unchecked' suppression" "true-preview"
|
|
import java.util.*;
|
|
|
|
/**
|
|
* @noinspection unch<caret>ecked
|
|
*
|
|
* unrelated text
|
|
*/
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
void foo() {
|
|
List<ArrayList<String>> list = foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|