strings as final

This commit is contained in:
sonora 2016-05-30 13:52:21 +02:00
parent 823d509c7d
commit 7c40313940

View file

@ -539,8 +539,8 @@ public class ConfigureMapMenu {
mp.put(ids[i], values[i]);
}
ArrayList<String> lst = new ArrayList<>(mp.keySet());
String systemLocale = ctx.getString(R.string.system_locale) + " (" + ctx.getString(R.string.system_locale_no_translate) + ")";
String englishLocale = ctx.getString(R.string.lang_en);
final String systemLocale = ctx.getString(R.string.system_locale) + " (" + ctx.getString(R.string.system_locale_no_translate) + ")";
final String englishLocale = ctx.getString(R.string.lang_en);
Collections.sort(lst, new Comparator<String>() {
@Override
public int compare(String lhs, String rhs) {