mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-42270 Good code is yellow: null passed to a @NotNull annotated varargs parameter
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class Test {
|
||||
public static void test(@NotNull Object... objects) { }
|
||||
|
||||
public static void main(String[] args) {
|
||||
Object o = null;
|
||||
test(o);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user