vanba4772 opened a new pull request, #22428:
URL: https://github.com/apache/kafka/pull/22428
String.format() without a Locale parameter can produce locale-dependent
output (e.g., different decimal separators for numbers, locale-specific
formatting). This is inconsistent
with the project's existing checkstyle rule that enforces Locale.ROOT for
toLowerCase() and toUpperCase() calls.
The tools/ and server-common/ modules contain ~75 occurrences of
String.format( without an explicit Locale. These should be changed to
String.format(Locale.ROOT, ...) for
consistent, locale-independent behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]