blob: 11a6913b4b9518dcd5ca406b088b2da33abb88a7 [file] [log] [blame]
Issue1929.java:21:21: compiler.err.proc.messager: [return] incompatible types in return.
type of expression: @Initialized @Nullable String @Initialized @NonNull []
method return type: @Initialized @NonNull String @Initialized @NonNull []
Issue1929.java:21:21: compiler.warn.proc.messager: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor
Issue1929.java:29:21: compiler.err.proc.messager: [return] incompatible types in return.
type of expression: @Initialized @Nullable String @Initialized @NonNull []
method return type: @Initialized @NonNull String @Initialized @NonNull []
Issue1929.java:29:21: compiler.warn.proc.messager: [toarray.nullable.elements.not.newarray] call of toArray on collection of non-null elements yields an array of possibly-null elements; omit the argument to toArray or make it an explicit array constructor
2 errors
2 warnings