mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Работа конфигов на русифицированных ОС (#394)
This commit is contained in:
parent
dba9d70b37
commit
2043d301a1
1 changed files with 2 additions and 5 deletions
|
@ -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<String, Object> 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);
|
||||
|
|
Loading…
Reference in a new issue