Use language-agnotic Locale.ROOT

This commit is contained in:
Michael Osipov 2019-12-15 16:15:36 +01:00
parent a5dac4c6f2
commit 86b1a3b711
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class DigestScheme implements AuthScheme, Serializable {
} }
final StringBuilder sb = new StringBuilder(8); final StringBuilder sb = new StringBuilder(8);
try (final Formatter formatter = new Formatter(sb, Locale.US)) { try (final Formatter formatter = new Formatter(sb, Locale.ROOT)) {
formatter.format("%08x", nounceCount); formatter.format("%08x", nounceCount);
} }
final String nc = sb.toString(); final String nc = sb.toString();