- CheckStyle.

This commit is contained in:
Chris
2012-01-28 15:38:40 +00:00
parent 30a4992c75
commit eda06ce07b
2 changed files with 11 additions and 11 deletions

View File

@@ -297,7 +297,7 @@ public final class DeckEditorShop extends DeckEditorBase {
} else if (card instanceof BoosterPack) { } else if (card instanceof BoosterPack) {
return 395; return 395;
} else if (card instanceof PreconDeck) { } else if (card instanceof PreconDeck) {
return ((PreconDeck)card).getRecommendedDeals().getCost(); return ((PreconDeck) card).getRecommendedDeals().getCost();
} }
return 1337; return 1337;
} }
@@ -331,9 +331,9 @@ public final class DeckEditorShop extends DeckEditorBase {
final CardListViewer c = new CardListViewer(booster.getName(), final CardListViewer c = new CardListViewer(booster.getName(),
"You have found the following cards inside:", newCards); "You have found the following cards inside:", newCards);
c.show(); c.show();
} else if ( item instanceof PreconDeck ) { } else if (item instanceof PreconDeck) {
this.getTopTableWithCards().removeCard(item); this.getTopTableWithCards().removeCard(item);
final PreconDeck deck = (PreconDeck)item; final PreconDeck deck = (PreconDeck) item;
this.questData.getCards().buyPreconDeck(deck, value); this.questData.getCards().buyPreconDeck(deck, value);
for (final CardPrinted card : deck.getDeck().getMain().toFlatList()) { for (final CardPrinted card : deck.getDeck().getMain().toFlatList()) {