moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:42:06 +04:00
parent 64ecc03e67
commit 39c67da336
138 changed files with 12 additions and 5 deletions
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems />
@@ -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);
}
}