mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 08:59:21 +07:00
moving tests to CE
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class TestNPEafterNew {
|
||||
@Nullable Object[] arr;
|
||||
void test(@NotNull Object[] notnull) {
|
||||
arr = notnull;
|
||||
System.out.println(arr.length);
|
||||
}
|
||||
|
||||
void test() {
|
||||
arr = new Object[5];
|
||||
System.out.println(arr.length);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user