From 8e94fd2e1a379a1bd4a42097f995b58d0235658a Mon Sep 17 00:00:00 2001 From: Md Armughanuddin Date: Tue, 20 Aug 2024 00:02:23 -0500 Subject: [PATCH] Update nullaway/src/test/java/com/uber/nullaway/ArrayTests.java Co-authored-by: Manu Sridharan --- nullaway/src/test/java/com/uber/nullaway/ArrayTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nullaway/src/test/java/com/uber/nullaway/ArrayTests.java b/nullaway/src/test/java/com/uber/nullaway/ArrayTests.java index 4e653e37dc..6cdca9ac32 100644 --- a/nullaway/src/test/java/com/uber/nullaway/ArrayTests.java +++ b/nullaway/src/test/java/com/uber/nullaway/ArrayTests.java @@ -82,7 +82,7 @@ public void typeUseLegacyAnnotationOnArray() { " @Nullable Object[] foo1 = null;", " // ok according to spec", " Object @Nullable[] foo2 = null;", - " // ok, but @Nullable is not applied on top-level of array ", + " // ok, but elements are not treated as @Nullable outside of JSpecify mode", " @Nullable Object @Nullable[] foo3 = null;", " // ok only for backwards compat", " @Nullable Object [][] foo4 = null;",