Fix support for some non-english locales (tr_TR)

This commit is contained in:
md_5 2016-06-21 12:01:40 +10:00
parent 2c6840ac26
commit d27b5cfe55

View File

@ -2,6 +2,7 @@ package org.jetbrains.java.decompiler.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
@ -80,7 +81,7 @@ public class VarHelper {
String[] remap = switches.get(type);
if (remap == null) {
remap = new String[]{
type.toLowerCase()
type.toLowerCase(Locale.ENGLISH)
};
}