Skip to content

Conversation

greg-at-moderne
Copy link

@greg-at-moderne greg-at-moderne commented Jun 13, 2025

What:
Pure refactoring. Replacing/inlining variables whose only purpose is to be used in subsequent return statement.

Why:
Simplify code.

How:
Using OpenRewrite's org.openrewrite.staticanalysis.InlineVariable recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant