Am 2019-12-15 um 15:10 schrieb Gary Gregory:
Michael:
There is another use of Locale.US
in
org.apache.hc.client5.http.impl.auth.DigestScheme.createDigestResponse(HttpRequest)
Fixed, thanks!
On Sun, Dec 15, 2019 at 5:49 AM <[email protected]> wrote:
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch consistency
in repository
https://gitbox.apache.org/repos/asf/httpcomponents-client.git
commit 846a25561c70148ae89a1ea4ae49bb7e9473d68f
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Dec 15 10:58:41 2019 +0100
Use language-agnotic Locale.ROOT
---
.../java/org/apache/hc/client5/http/impl/cache/BasicIdGenerator.java |
2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/BasicIdGenerator.java
b/httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/BasicIdGenerator.java
index cfa28ac..80fdb6b 100644
---
a/httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/BasicIdGenerator.java
+++
b/httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/BasicIdGenerator.java
@@ -65,7 +65,7 @@ class BasicIdGenerator {
final int rndnum = this.rnd.nextInt();
buffer.append(System.currentTimeMillis());
buffer.append('.');
- final Formatter formatter = new Formatter(buffer, Locale.US);
+ final Formatter formatter = new Formatter(buffer, Locale.ROOT);
formatter.format("%1$016x-%2$08x", Long.valueOf(this.count),
Integer.valueOf(rndnum));
formatter.close();
buffer.append('.');
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]