Skip to content

RemoveObjectsIsNull should remove unused import java.util.Objects #3916

@koppor

Description

@koppor

When applying RemoveObjectsIsNull, checkstyle says

[ERROR] /home/runner/work/jabref/jabref/src/main/java/org/jabref/gui/shared/SharedDatabaseUIManager.java:4:8: Unused import - java.util.Objects. [UnusedImports]

This should not happen. Can the recipe simply call https://docs.openrewrite.org/recipes/java/removeunusedimports afterwards? Maybe with a parameter, to only handle Objects?

Detected at: JabRef/jabref#10788

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

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