Skip to content

Conversation

timtebeek
Copy link
Contributor

Figured follow on from 9472418 by adopting some Java 17 language features. I'd intentionally left out a migration to String#formatted, as that produces a lot more changes which might take some time to get used to. Can optionally follow up if desired.

Use this link to re-run the recipe: https://app.moderne.io/builder/vxk6TUk8P?organizationId=NDAwOWYzMTAtY2NmMS00Mzk2LWJlZjctYzg2OWY0Zjk1ZDhi

@timtebeek timtebeek force-pushed the refactor/java-17-language-features branch from 2de9e8b to 3c5036b Compare June 14, 2025 20:26
@timtebeek
Copy link
Contributor Author

For convenience I've pushed the String.formatted changes to a branch such that you can more easily compare and adopt:
main...timtebeek:spring-data-release:refactor/StringFormatted

@mp911de mp911de merged commit 94a452e into spring-projects:main Jul 8, 2025
1 check passed
@mp911de mp911de added the type: task A general task label Jul 8, 2025
@mp911de
Copy link
Member

mp911de commented Jul 8, 2025

Thanks a lot. I'd appreciate the String.format(…) to .formatted(…) change as individual commit (and PR) as you mentioned, it's going to create quite a bit of noise.

@mp911de mp911de changed the title refactor: Adopt Java 17 language features Adopt Java 17 language features Jul 8, 2025
@timtebeek timtebeek deleted the refactor/java-17-language-features branch July 8, 2025 18:15
@timtebeek
Copy link
Contributor Author

Sure! Here's that follow up PR after a bit of wrestling with rebase, conflicts and signing. One day I'll get it right on the first try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants