Refactor: fixed duplicated class name

This commit is contained in:
Oleg Agafonov 2019-04-03 13:00:24 +04:00
parent 2cd28a7d00
commit c6e262b0ed
3 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
package mage.client.util;
import java.util.Comparator;
import mage.utils.CardUtil;
import mage.utils.CardColorUtil;
import mage.view.CardView;
/**
@ -13,7 +13,7 @@ public class CardViewColorIdentityComparator implements Comparator<CardView> {
@Override
public int compare(CardView o1, CardView o2) {
return CardUtil.getColorIdentitySortValue(o1.getManaCost(), o1.getColor(), o1.getRules())
- CardUtil.getColorIdentitySortValue(o2.getManaCost(), o2.getColor(), o2.getRules());
return CardColorUtil.getColorIdentitySortValue(o1.getManaCost(), o1.getColor(), o1.getRules())
- CardColorUtil.getColorIdentitySortValue(o2.getManaCost(), o2.getColor(), o2.getRules());
}
}