checkstyle and refactor

This commit is contained in:
jendave
2011-10-29 06:13:20 +00:00
parent 9ada94036e
commit e646a6190e
66 changed files with 691 additions and 622 deletions

View File

@@ -16,7 +16,7 @@ public class CardColorTest {
@Test(groups = {"UnitTest", "fast"}, timeOut = 1000)
public void CardColorTest1() {
ManaCost mc = new ManaCost("R W U");
EnumSet<Color> col = Color.ConvertManaCostToColor(mc);
EnumSet<Color> col = Color.convertManaCostToColor(mc);
System.out.println(col.toString());
}
}

View File

@@ -22,8 +22,8 @@ public class GuiBoosterDraftTest {
*/
@Test(groups = {"UnitTest", "fast"})
public void GuiBoosterDraftTest1() {
Constant.Runtime.gameType = GameType.Draft;
Constant.Runtime.HumanDeck[0] = new Deck(GameType.Sealed);
Constant.Runtime.setGameType(GameType.Draft);
Constant.Runtime.HUMAN_DECK[0] = new Deck(GameType.Sealed);
DeckEditorDraft g = new DeckEditorDraft();
g.showGui(new BoosterDraft_1(CardPoolLimitation.Full));

View File

@@ -23,8 +23,7 @@ public final class BraidsAssertFunctions {
*/
public static void assertThrowsException(
@SuppressWarnings("rawtypes") final Class exnClass,
final ClumsyRunnable withScissors)
{
final ClumsyRunnable withScissors) {
try {
withScissors.run();
}