rewrite-static-analysis icon indicating copy to clipboard operation
rewrite-static-analysis copied to clipboard

732: Remove trailing whitespace

Open dsgrieve opened this issue 3 months ago • 0 comments

What's changed?

Recipe to remove trailing whitespace

What's your motivation?

Fixes #732

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Patterned after other RemoveTrailingWhitespace recipes in openrewrite/rewrite.

Checklist

  • [x] I've added unit tests to cover both positive and negative cases
  • [x] I've read and applied the recipe conventions and best practices
  • [x] I've used the IntelliJ IDEA auto-formatter on affected files

dsgrieve avatar Sep 08 '25 15:09 dsgrieve