Closed koppor closed 7 months ago
We have an issue in the code, where we have Objects.isNull(i), where i is an int.
Objects.isNull(i)
i
int
Then, Java boxes the integer. when i != null is written, the auto boxing does not work and leads to a compile error:
i != null
operand types for binary operator '!='
Wish: when the method parameter type is not an object, do not rewrite.
See https://github.com/JabRef/jabref/pull/10788
Picked up in
We have an issue in the code, where we have
Objects.isNull(i)
, wherei
is anint
.Then, Java boxes the integer. when
i != null
is written, the auto boxing does not work and leads to a compile error:Wish: when the method parameter type is not an object, do not rewrite.
See https://github.com/JabRef/jabref/pull/10788