Skip to content

Conversation

timtebeek
Copy link
Member

What's changed?

Made the wrapping optional but enabled when run directly, but disabled in the Java 17 upgrade recipe.
Also moved this recipe to after the change that introduces text blocks, such that we can pick those up still.

What's your motivation?

Have you considered any alternatives or workarounds?

We could have made the optional false by default, but then it's harder for folks to discover and run.

Any additional context

We use the same pattern for introducing text blocks; with a flag set to false when included in the Java 17 migration.

@timtebeek timtebeek self-assigned this Dec 4, 2024
@timtebeek timtebeek merged commit bd2cc9c into main Dec 4, 2024
2 checks passed
@timtebeek timtebeek deleted the string-formatted-not-for-string-concatenation-by-default branch December 4, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Including StringFormatted as part of UpgradeToJava17 seems too opinionated

1 participant