mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-30 10:44:06 +07:00
83a859546b
also, global inspection redundant suppressions made java independent (WEB-16634)
20 lines
343 B
Java
20 lines
343 B
Java
// "Remove 'unchecked' suppression" "false"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> List<T> foo(T... t){
|
|
return null;
|
|
}
|
|
|
|
static <T> List<T> foo1(T... t){
|
|
return null;
|
|
}
|
|
|
|
void foo() {
|
|
//noinspection unc<caret>hecked
|
|
foo(new ArrayList<String>()).addAll(foo1(new ArrayList<String>()));
|
|
}
|
|
}
|
|
|