This is a follow-up issue on the nullability support. I am using 0.0.45.
Consider the following (silly) example:
private@NullableObject[] doSomething(intlength) {
@NullableObject[] args = newObject[length];
for (inti = 0; i < length; i++) {
args[i] = (i % 2 == 0) ? Boolean.TRUE : null;
}
returnargs;
}If I ask to reformat, this does:
private@NullableObject[] doSomething(intlength) {
@NullableObject[] args = newObject[length];
for (inti = 0; i < length; i++) {
args[i] = (i % 2 == 0) ? Boolean.TRUE : null;
}
returnargs;
}
This is a follow-up issue on the nullability support. I am using
0.0.45.Consider the following (silly) example:
If I ask to reformat, this does: