forked from External/mage
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
This commit is contained in:
parent
fb15c79964
commit
f1cf9e7adb
47 changed files with 132 additions and 96 deletions
|
|
@ -206,26 +206,21 @@ public class ConditionalMana extends Mana implements Serializable {
|
|||
break;
|
||||
case BLUE:
|
||||
blue += amount;
|
||||
;
|
||||
break;
|
||||
case GREEN:
|
||||
green += amount;
|
||||
;
|
||||
break;
|
||||
case RED:
|
||||
red += amount;
|
||||
;
|
||||
break;
|
||||
case WHITE:
|
||||
white += amount;
|
||||
;
|
||||
break;
|
||||
case COLORLESS:
|
||||
colorless += amount;
|
||||
;
|
||||
|
||||
case GENERIC:
|
||||
generic += amount;
|
||||
;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue