Merge pull request #3264 from ingmargoudt/fix_compilation

remove sun reference
This commit is contained in:
ingmargoudt 2017-04-29 08:40:17 +02:00 committed by GitHub
commit 5afdc78f5b

View file

@ -30,7 +30,6 @@ package mage.view;
import java.util.*; import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import com.sun.xml.internal.ws.util.StringUtils;
import mage.MageObject; import mage.MageObject;
import mage.ObjectColor; import mage.ObjectColor;
import mage.abilities.Abilities; import mage.abilities.Abilities;
@ -966,7 +965,9 @@ public class CardView extends SimpleCardView {
} }
public String getColorText() { public String getColorText() {
return StringUtils.capitalize(getColor().getDescription());
String color = getColor().getDescription();
return color.substring(0,1).toUpperCase() + color.substring(1);
} }
public String getTypeText() { public String getTypeText() {