diff options
author | md_5 <git@md-5.net> | 2016-06-21 12:01:40 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-06-21 12:01:40 +1000 |
commit | d27b5cfe55827b58b38b1a7e8dab068eb8b1625e (patch) | |
tree | 00c965193b498ab6e78b873304574d7d79e7eb2a | |
parent | 2c6840ac26eb851c477ef8a4c7d6c82f75f846a9 (diff) | |
download | fernflower-d27b5cfe55827b58b38b1a7e8dab068eb8b1625e.tar fernflower-d27b5cfe55827b58b38b1a7e8dab068eb8b1625e.tar.gz fernflower-d27b5cfe55827b58b38b1a7e8dab068eb8b1625e.tar.lz fernflower-d27b5cfe55827b58b38b1a7e8dab068eb8b1625e.tar.xz fernflower-d27b5cfe55827b58b38b1a7e8dab068eb8b1625e.zip |
Fix support for some non-english locales (tr_TR)
-rw-r--r-- | src/org/jetbrains/java/decompiler/util/VarHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/jetbrains/java/decompiler/util/VarHelper.java b/src/org/jetbrains/java/decompiler/util/VarHelper.java index f76dca9..11827d8 100644 --- a/src/org/jetbrains/java/decompiler/util/VarHelper.java +++ b/src/org/jetbrains/java/decompiler/util/VarHelper.java @@ -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) }; } |