Replace @MonotonicNonNull with @Nullable for final variables.
@MonotonicNonNull is not useful if the variable is final, because it's only assigned once and guaranteed to keep it's current nullability in the same way as @MonotonicNonNull ensures it's kept non-null after checking. This way, the workarounds can also be removed. PiperOrigin-RevId: 275428656
Showing
with
7 additions
and
15 deletions
Please
register
or
sign in
to comment