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

Add BufferedWriterCreation recipe & SimplifyConstantTernaryExecution

Open JLLeitschuh opened this issue 1 year ago • 2 comments

  • BufferedWriterCreation
  • SimplifyConstantTernaryExecution

Signed-off-by: Jonathan Leitschuh [email protected]

What's your motivation?

More recipes, more better?

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

There seems to be a bug in autoFormat where the J.Literal isn't having it's prefix padding removed.

Anyone you would like to review specifically?

  • @knutwannheden

Have you considered any alternatives or workarounds?

Any additional context

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

JLLeitschuh avatar Feb 17 '24 03:02 JLLeitschuh