Skip to content

RemoveObjectsIsNull also rewrites boxed ints #3915

@koppor

Description

@koppor

We have an issue in the code, where we have Objects.isNull(i), where i is an int.

Then, Java boxes the integer. when i != null is written, the auto boxing does not work and leads to a compile error:

operand types for binary operator '!='

Wish: when the method parameter type is not an object, do not rewrite.

See JabRef/jabref#10788

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions