forked from External/mage
equals "" should be replaced with isEmpty
This commit is contained in:
parent
3600d03e2c
commit
ad7d3c8078
6 changed files with 7 additions and 7 deletions
|
|
@ -210,7 +210,7 @@ public class VerifyCardDataTest {
|
|||
private void checkCost(Card card, JsonCard ref) {
|
||||
String expected = ref.manaCost;
|
||||
String cost = join(card.getManaCost().getSymbols());
|
||||
if ("".equals(cost)) {
|
||||
if (cost != null && cost.isEmpty()) {
|
||||
cost = null;
|
||||
}
|
||||
if (cost != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue