- CheckStyle.

This commit is contained in:
Chris
2012-12-01 20:43:21 +00:00
parent c275def10d
commit 4b415ea611
11 changed files with 27 additions and 24 deletions

View File

@@ -58,7 +58,9 @@ public class ViewWinLose {
control = new QuestWinLose(this, match);
break;
case Draft:
if (!Singletons.getModel().getGauntletMini().isGauntletDraft()) break;
if (!Singletons.getModel().getGauntletMini().isGauntletDraft()) {
break;
}
case Sealed:
control = new LimitedWinLose(this, match);
break;
@@ -68,8 +70,9 @@ public class ViewWinLose {
default: // will catch it after switch
break;
}
if( null == control)
if (null == control) {
control = new ControlWinLose(this, match);
}
pnlLeft.setOpaque(false);

View File

@@ -66,8 +66,8 @@ public enum CDock implements ICDoc {
private GameState game;
private Player player;
public void onGameStarts(GameState game0, Player player0)
{
public void onGameStarts(GameState game0, Player player0) {
game = game0;
player = player0;
}

View File

@@ -36,9 +36,9 @@ public enum CPlayers implements ICDoc {
*/
@Override
public void update() {
for(Player p : Singletons.getModel().getGame().getRegisteredPlayers())
for (Player p : Singletons.getModel().getGame().getRegisteredPlayers()) {
VPlayers.SINGLETON_INSTANCE.updatePlayerLabels(p);
}
VPlayers.SINGLETON_INSTANCE.updateStormLabel();
}