diff --git a/Mage/src/main/java/mage/ObjectColor.java b/Mage/src/main/java/mage/ObjectColor.java index 4c4e1eb01f..cbe2870216 100644 --- a/Mage/src/main/java/mage/ObjectColor.java +++ b/Mage/src/main/java/mage/ObjectColor.java @@ -31,12 +31,9 @@ import java.io.Serializable; import java.util.ArrayList; import java.util.List; import mage.util.Copyable; -import mage.util.ThreadLocalStringBuilder; public class ObjectColor implements Serializable, Copyable, Comparable { - private static final ThreadLocalStringBuilder threadLocalBuilder = new ThreadLocalStringBuilder(10); - public static final ObjectColor WHITE = new ObjectColor("W"); public static final ObjectColor BLUE = new ObjectColor("U"); public static final ObjectColor BLACK = new ObjectColor("B"); @@ -231,7 +228,7 @@ public class ObjectColor implements Serializable, Copyable, Compara @Override public String toString() { - StringBuilder sb = threadLocalBuilder.get(); + StringBuilder sb = new StringBuilder(5); if (white) { sb.append("W"); }