Skip to content

Conversation

@onobc
Copy link
Collaborator

@onobc onobc commented Oct 17, 2024

This commit makes sure that all usages of String toLowerCase and toUpperCase specify a Locale (default of Locale.ROOT).
Also, add a checkstyle rule to prevent usage of the no-arg variant of String toLowerCase and toUpperCase.

@onobc onobc force-pushed the use-locale-string-upper-lower-case branch from 8d16d8c to 5b01c08 Compare October 17, 2024 20:09
@onobc onobc added this to the 1.2.0-RC1 milestone Oct 17, 2024
@onobc onobc added the type: improvement An improvement of implementation of existing feature label Oct 17, 2024
@onobc onobc force-pushed the use-locale-string-upper-lower-case branch 2 times, most recently from b202f5d to 6822fb0 Compare October 17, 2024 20:54
This commit makes sure that all usages of String toLowerCase and
toUpperCase specify a Locale (default of Locale.ROOT).

Also, a checkstyle rule is added to prevent usage of the no-arg variant
of String toLowerCase and toUpperCase.
@onobc onobc force-pushed the use-locale-string-upper-lower-case branch from 6822fb0 to 871ca72 Compare October 17, 2024 21:04
@onobc onobc merged commit 123b17d into spring-projects:main Oct 17, 2024
@onobc onobc deleted the use-locale-string-upper-lower-case branch October 17, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement An improvement of implementation of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant