From d27b5cfe55827b58b38b1a7e8dab068eb8b1625e Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 21 Jun 2016 12:01:40 +1000 Subject: [PATCH] Fix support for some non-english locales (tr_TR) --- src/org/jetbrains/java/decompiler/util/VarHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }; }