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
|
|
@ -36,7 +36,6 @@ import mage.constants.Zone;
|
|||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
import mage.util.StringUtil;
|
||||
|
||||
|
||||
public class LoseLifeControllerAttachedEffect extends OneShotEffect {
|
||||
|
|
@ -89,7 +88,7 @@ public class LoseLifeControllerAttachedEffect extends OneShotEffect {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("it's controller loses ").append(amount.toString()).append(" life");
|
||||
String message = amount.getMessage();
|
||||
if (StringUtil.isNotEmpty(message)) {
|
||||
if (message.length() > 0) {
|
||||
sb.append(" for each ");
|
||||
sb.append(message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue