forked from External/mage
Equals should be compared with == but not equals()
This commit is contained in:
parent
1f9b51d833
commit
d93061c0bc
175 changed files with 348 additions and 344 deletions
|
|
@ -58,7 +58,7 @@ public final class CardScanner {
|
|||
|| !expansionInfo.code.equals(set.getCode())
|
||||
|| (expansionInfo.blockName == null ? set.getBlockName() != null : !expansionInfo.blockName.equals(set.getBlockName()))
|
||||
|| !expansionInfo.releaseDate.equals(set.getReleaseDate())
|
||||
|| !expansionInfo.type.equals(set.getSetType())
|
||||
|| expansionInfo.type != set.getSetType()
|
||||
|| expansionInfo.boosters != set.hasBoosters()
|
||||
|| expansionInfo.basicLands != set.hasBasicLands()) {
|
||||
ExpansionRepository.instance.update(expansionInfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue