From 0d3befa5f01f9cc6ec6ba33eea353c2df511f502 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 21 Oct 2024 15:56:35 +0200 Subject: [PATCH] [Minor] StrolchEnum uses Locale.forLanguageTag() --- .../main/java/li/strolch/runtime/query/enums/StrolchEnum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java b/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java index 55579f219..95bcff26c 100644 --- a/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java +++ b/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java @@ -55,7 +55,7 @@ public String getLocale() { } public void setLocale(String locale) { - this.localeL = new Locale(locale); + this.localeL = Locale.forLanguageTag(locale); this.locale = locale; }