forked from External/mage
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
This commit is contained in:
parent
18e771ccd5
commit
d7dd635bca
51 changed files with 96 additions and 294 deletions
|
|
@ -46,7 +46,6 @@ import mage.constants.ColoredManaSymbol;
|
|||
import mage.util.ClassScanner;
|
||||
|
||||
import mage.util.RandomUtil;
|
||||
import mage.util.StringUtil;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
|
|
@ -139,11 +138,10 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
Map<String, DeckCardInfo> deckCards = new HashMap<>();
|
||||
Map<String, DeckCardInfo> sideboard = new HashMap<>();
|
||||
try {
|
||||
|
||||
if (StringUtil.isNotEmpty(deck.getName())) {
|
||||
if (deck.getName() != null && deck.getName().length() > 0) {
|
||||
out.println("NAME:" + deck.getName());
|
||||
}
|
||||
if (StringUtil.isNotEmpty(deck.getAuthor())) {
|
||||
if (deck.getAuthor() != null && deck.getAuthor().length() > 0) {
|
||||
out.println("AUTHOR:" + deck.getAuthor());
|
||||
}
|
||||
for (DeckCardInfo deckCardInfo: deck.getCards()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue