From 2043d301a1f1d56939a1109400c600dbf252465d Mon Sep 17 00:00:00 2001 From: ijo42 Date: Fri, 5 Jun 2020 00:18:12 +0500 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=BE=D0=B2=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D1=80=D1=83=D1=81=D0=B8=D1=84=D0=B8=D1=86=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=9E=D0=A1=20(#394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../launchserver/launchermodules/LauncherModuleLoader.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java b/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java index 723bae4c..6575c9ca 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java @@ -19,10 +19,7 @@ import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; +import java.util.*; import java.util.jar.Attributes; import java.util.jar.JarFile; @@ -148,7 +145,7 @@ public void addClassFieldsToProperties(Map propertyMap, String p for (Field field : fields) { if ((field.getModifiers() & Modifier.STATIC) != 0) continue; Object obj = field.get(object); - String propertyName = prefix.concat(".").concat(field.getName().toLowerCase()); + String propertyName = prefix.concat(".").concat(field.getName().toLowerCase(Locale.US)); if(InjectClassAcceptor.isSerializableValue(obj)) { LogHelper.dev("Property name %s", propertyName);