- CheckStyle.

This commit is contained in:
Chris
2012-02-17 14:33:17 +00:00
parent a92c0ec0a4
commit edf56ffaca
5 changed files with 7 additions and 6 deletions

View File

@@ -682,7 +682,7 @@ public class ComputerUtil {
if (cost.isPaid()) { if (cost.isPaid()) {
// refund any mana taken from mana pool when test // refund any mana taken from mana pool when test
manapool.clearPay(sa, test); manapool.clearPay(sa, test);
return true; return true;
} }

View File

@@ -1028,7 +1028,7 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
public final void setDevPhaseState(final String phaseID) { public final void setDevPhaseState(final String phaseID) {
this.phaseIndex = this.findIndex(phaseID); this.phaseIndex = this.findIndex(phaseID);
} }
public final void setPhaseState(final String phaseID) { public final void setPhaseState(final String phaseID) {
this.phaseIndex = this.findIndex(phaseID); this.phaseIndex = this.findIndex(phaseID);
this.handleBeginPhase(); this.handleBeginPhase();

View File

@@ -2729,7 +2729,7 @@ public abstract class Player extends GameEntity {
public final Object getMustAttackEntity() { public final Object getMustAttackEntity() {
return this.mustAttackEntity; return this.mustAttackEntity;
} }
public final void updateLabelObservers() { public final void updateLabelObservers() {
this.getZone(Zone.Hand).updateObservers(); this.getZone(Zone.Hand).updateObservers();
} }

View File

@@ -2324,7 +2324,8 @@ public class Upkeep extends Phase implements java.io.Serializable {
&& selectedCard.canBeTargetedBy(switchTargets)) { && selectedCard.canBeTargetedBy(switchTargets)) {
newTarget[0] = selectedCard; newTarget[0] = selectedCard;
final StringBuilder sb = new StringBuilder(); final StringBuilder sb = new StringBuilder();
sb.append(c).append(" - switching to copy " + selectedCard.getName() + "."); sb.append(c).append(" - switching to copy ");
sb.append(selectedCard.getName()).append(".");
switchTargets.setStackDescription(sb.toString()); switchTargets.setStackDescription(sb.toString());
AllZone.getStack().add(switchTargets); AllZone.getStack().add(switchTargets);
this.stop(); this.stop();
@@ -2334,7 +2335,7 @@ public class Upkeep extends Phase implements java.io.Serializable {
} }
} }
}; };
ability.setDescription(keyword); ability.setDescription(keyword);
ability.setStackDescription("(OPTIONAL) " + keyword); ability.setStackDescription("(OPTIONAL) " + keyword);

View File

@@ -935,7 +935,7 @@ public class AbilityFactory {
spellAbility = AbilityFactoryPermanentState.createDrawbackPhases(this); spellAbility = AbilityFactoryPermanentState.createDrawbackPhases(this);
} }
} }
else if (this.api.equals("Play")) { else if (this.api.equals("Play")) {
if (this.isAb) { if (this.isAb) {
spellAbility = AbilityFactoryPlay.createAbilityPlay(this); spellAbility = AbilityFactoryPlay.createAbilityPlay(this);