From f0973327a93ed495f86e96a3e32bc5678b66a15d Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 26 Jun 2016 19:31:59 +1000 Subject: BUILDTOOLS-251: Make much of Bukkit locale independent --- src/test/java/org/bukkit/MaterialTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/java/org/bukkit/MaterialTest.java b/src/test/java/org/bukkit/MaterialTest.java index cbca8409..61c68711 100644 --- a/src/test/java/org/bukkit/MaterialTest.java +++ b/src/test/java/org/bukkit/MaterialTest.java @@ -78,7 +78,7 @@ public class MaterialTest { @Test public void matchMaterialByLowerCaseAndSpaces() { for (Material material : Material.values()) { - String name = material.toString().replaceAll("_", " ").toLowerCase(); + String name = material.toString().replaceAll("_", " ").toLowerCase(java.util.Locale.ENGLISH); assertThat(Material.matchMaterial(name), is(material)); } } -- cgit v1.2.3