mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #3264 from ingmargoudt/fix_compilation
remove sun reference
This commit is contained in:
commit
5afdc78f5b
1 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue