mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
remove sun reference
This commit is contained in:
parent
2d427861f1
commit
9ca9975cb0
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,6 @@ package mage.view;
|
|||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import com.sun.xml.internal.ws.util.StringUtils;
|
||||
import mage.MageObject;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Abilities;
|
||||
|
@ -966,7 +965,9 @@ public class CardView extends SimpleCardView {
|
|||
}
|
||||
|
||||
public String getColorText() {
|
||||
return StringUtils.capitalize(getColor().getDescription());
|
||||
|
||||
String color = getColor().getDescription();
|
||||
return color.substring(0,1).toUpperCase() + color.substring(1);
|
||||
}
|
||||
|
||||
public String getTypeText() {
|
||||
|
|
Loading…
Reference in a new issue