Skip to content

GoogleJavaFormat entry point does not sort imports or remove unused #48

@sormuras

Description

@sormuras

The current entry point in spotless/java/GoogleJavaFormat is the Formatter.formatSource method which lacks fixing of import order and removal of unused imports.

If the entry point was changed to Main.main, the googleJavaFormat() step would work as expected.

#28 would partly be solved - if one uses googleJavaFormat()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions