Skip to content

Commit

Permalink
Update nullaway/src/test/java/com/uber/nullaway/ArrayTests.java
Browse files Browse the repository at this point in the history
Co-authored-by: Manu Sridharan <msridhar@gmail.com>
  • Loading branch information
armughan11 and msridhar authored Aug 20, 2024
1 parent 108edde commit 8e94fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nullaway/src/test/java/com/uber/nullaway/ArrayTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;",
Expand Down

0 comments on commit 8e94fd2

Please sign in to comment.