mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
new inspection context doesn't contain any tools so one need to initialize context with tools explicitly to perform checks there GitOrigin-RevId: b43cbccc70651b8a43783970af11a81cfb5b6847
17 lines
316 B
Java
17 lines
316 B
Java
// "Fix all 'Redundant suppression' problems in file" "true"
|
|
import java.util.ArrayList;
|
|
|
|
public class Test {
|
|
@SafeVarargs
|
|
static <T> void foo(T... t){
|
|
}
|
|
|
|
void foo() {
|
|
//noinspection un<caret>checked
|
|
foo(new ArrayList<String>());
|
|
//noinspection unchecked
|
|
foo(new ArrayList<String>());
|
|
}
|
|
}
|
|
|