Fix support for some non-english locales (tr_TR)
This commit is contained in:
parent
2c6840ac26
commit
d27b5cfe55
@ -2,6 +2,7 @@ package org.jetbrains.java.decompiler.util;
|
|||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
@ -80,7 +81,7 @@ public class VarHelper {
|
|||||||
String[] remap = switches.get(type);
|
String[] remap = switches.get(type);
|
||||||
if (remap == null) {
|
if (remap == null) {
|
||||||
remap = new String[]{
|
remap = new String[]{
|
||||||
type.toLowerCase()
|
type.toLowerCase(Locale.ENGLISH)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user