Skip to content

Conversation

JohannisK
Copy link
Contributor

What's changed?

Scoped autoformat better, so the recipe does not reformat lines it does not touch.

@JohannisK JohannisK self-assigned this May 6, 2025
@JohannisK JohannisK added the enhancement New feature or request label May 6, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite May 6, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite May 6, 2025
AccumulatorKind accumulatorKind = AccumulatorKind.NONE;
List<Statement> statements = new ArrayList<>();
List<Statement> logStatementsCache = new ArrayList<>();
J.@Nullable If ifCache = null;

public StatementAccumulator(Function<J, J> formatter) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally you could replace this one by a lombok constructor annotation.

@JohannisK JohannisK merged commit 167595a into main May 6, 2025
2 checks passed
@JohannisK JohannisK deleted the feature/make_inexpensive_log_statements_less_noisy branch May 6, 2025 10:08
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants