Mercurial > stress-tester
changeset 1242:172c6a940a93
AppUtils - default locale en_EN
author | Devel 2 |
---|---|
date | Wed, 01 Jul 2020 08:16:57 +0200 |
parents | f1a454e020e5 |
children | 0dddf15429a8 |
files | stress-tester/src/main/java/com/passus/st/AppUtils.java |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/AppUtils.java Tue Jun 30 16:46:13 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/AppUtils.java Wed Jul 01 08:16:57 2020 +0200 @@ -3,10 +3,11 @@ import com.passus.net.http.HttpHeadersDecoder; import com.passus.net.type.NetType; import com.passus.st.type.STTypes; + import java.nio.charset.Charset; +import java.util.Locale; /** - * * @author Mirosław Hawrot */ public class AppUtils { @@ -19,6 +20,8 @@ } public static void registerAll() { + Locale.setDefault(new Locale("en", "EN")); + STTypes.registerAll(); NetType.registerAll();