openrewrite / rewrite-static-analysis

OpenRewrite recipes for identifying and fixing static analysis issues.
Apache License 2.0
27 stars 43 forks source link

ReplaceCollectionToArrayArgWithEmptyArray Recipe #259

Closed jrivadeneira closed 2 months ago

jrivadeneira commented 4 months ago

Created recipe for ReplaceCollectionToArrayArgWithEmptyArray with test.

What's changed?

Added a new recipe

What's your motivation?

Demonstration of recipe creation. Working with @JLLeitschuh

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

Fixes https://github.com/openrewrite/rewrite-static-analysis/issues/84

Checklist

timtebeek commented 4 months ago

Hi @jrivadeneira ; welcome to the project! Great start already. You'll see some automated review feedback come on; best to apply those and then we'll go over any implementation details.

timtebeek commented 2 months ago

Thanks for the recipe & your patience in the review! Mexico was lovely, and I'm back to work & reviewing. :)