Make the jspecify test accept either (old & new) annotations.

This commit is contained in:
Kevin Bourrillion
2022-12-12 18:55:13 -08:00
committed by Space Team
parent 2329ee5f84
commit b69b7ab22d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
@org.jspecify.nullness.NullMarked
@org.jspecify.annotations.NullMarked
public class A {
public void foo(String x) {}
@org.jspecify.nullness.Nullable
@org.jspecify.annotations.Nullable
public String bar() { return null; }
}