Debian Codegraph @

framework/tests/all-systems/PrintArray.java

raw
1 public class PrintArray {
2 // the I18n checker correctly issues an error and Nullness org.checkerframework.checker
3 // correctly issue a warning below, but we would like to keep this
4 // test in all-systems.
5 @SuppressWarnings({"I18n", "nullness:known.nonnull"})
6 public static final void print(java.io.PrintStream ps, Object[][] a) {
7 if (a == null) {
8 ps.println("null");
9 return;
10 }
11 // When analyzing this call, we see an exception about taking the LUB
12 // of ATMs with different numbers of qualifiers.
13 ps.print('7');
14 }
15 }