- CheckStyle.

This commit is contained in:
Chris
2012-11-08 14:06:36 +00:00
parent 43e6bb6045
commit 9dec35d273

View File

@@ -631,8 +631,9 @@ public final class CardUtil {
final Card src) {
List<Card> res = new ArrayList<Card>();
if (to != ZoneType.Stack) {
for (Player p : Singletons.getModel().getGame().getPlayers())
for (Player p : Singletons.getModel().getGame().getPlayers()) {
res.addAll(p.getZone(to).getCardsAddedThisTurn(from));
}
} else {
res.addAll(Singletons.getModel().getGame().getStackZone().getCardsAddedThisTurn(from));
}
@@ -893,7 +894,6 @@ public final class CardUtil {
return ret;
}
private static List<String> getColorsOfCards(final int maxChoices, final List<Card> cards, final List<String> colors) {
for (final Card card : cards) {
// For each card, go through all the colors and if the card is that