You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
snicoll
changed the title
Use of Nullable on a statement put the annotation on its own line
Use of Nullable on a statement puts the annotation on its own line
May 27, 2025
Uh oh!
There was an error while loading. Please reload this page.
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:
The text was updated successfully, but these errors were encountered: