Skip to content

Conversation

jbj338033
Copy link
Contributor

  • Replace multi-line string concatenation with text blocks in HandlerMethod
  • Use String.formatted() instead of string concatenation in exception messages
  • Modernize string formatting using Java 17+ features

These improvements enhance code readability and leverage modern Java capabilities while maintaining full backwards compatibility. All tests pass successfully.

- Replace multi-line string concatenation with text blocks in HandlerMethod
- Use String.formatted() instead of string concatenation in exception messages
- Modernize string formatting using Java 17+ features

These improvements enhance code readability and leverage modern Java
capabilities while maintaining full backwards compatibility. All tests
pass successfully.

Signed-off-by: jbj338033 <jbj338033@gmail.com>
@jbj338033 jbj338033 force-pushed the feature/optimize-switch-expressions branch from f33885a to ffa0b76 Compare September 22, 2025 11:49
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 22, 2025
@bclozel bclozel self-assigned this Sep 25, 2025
@bclozel bclozel added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 25, 2025
@bclozel bclozel added this to the 2.0.0-RC1 milestone Sep 25, 2025
@bclozel bclozel closed this in bab967c Sep 25, 2025
@bclozel
Copy link
Member

bclozel commented Sep 25, 2025

Thanks for your contribution @jbj338033 !

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.

3 participants