Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"

This commit is contained in:
LevelX2 2016-09-16 23:55:54 +02:00 committed by GitHub
parent 18e771ccd5
commit d7dd635bca
51 changed files with 96 additions and 294 deletions

View file

@ -36,7 +36,6 @@ import mage.constants.Outcome;
import mage.game.Game;
import mage.players.Player;
import mage.util.CardUtil;
import mage.util.StringUtil;
/**
* @author BetaSteward_at_googlemail.com
@ -84,7 +83,7 @@ public class DrawCardSourceControllerEffect extends OneShotEffect {
sb.append("s");
}
String message = amount.getMessage();
if (StringUtil.isNotEmpty(message)) {
if (message.length() > 0) {
sb.append(" for each ");
}
sb.append(message);