Skip to content

Implement Recipe for EmptyStatement #135

@tannmayygupta

Description

@tannmayygupta

Implement an OpenRewrite recipe to automatically fix EmptyStatement
violations as defined in Checkstyle.

Check: https://checkstyle.sourceforge.io/checks/coding/emptystatement.html

This recipe should:

  • Detect empty statements (standalone semicolons)
  • Remove them automatically
  • Handle edge cases (e.g., in for loops, while loops)

I would like to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions