fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957

This commit is contained in:
Xander committed 2018-03-24 17:09:44 +08:00
1 parent 2e9b95e187
commit 1415288bcf
28 files changed
+79 -37

No files matched your search

@@ -41,6 +41,7 @@ import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import javax.annotation.Nullable;
import java.util.Locale;
public class BlockStateBasic extends ExtendedBlockState
{
@@ -205,7 +206,7 @@ public class BlockStateBasic extends ExtendedBlockState
@Override
public String getName()
{
return name().toLowerCase();
return name().toLowerCase(Locale.ROOT);
}
public String getDescription()