mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-30 13:22:14 +07:00
83a859546b
also, global inspection redundant suppressions made java independent (WEB-16634)
16 lines
280 B
Java
16 lines
280 B
Java
// "Remove 'unchecked' suppression" "true"
|
|
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>());
|
|
}
|
|
}
|
|
|