- 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()) {
// refund any mana taken from mana pool when test
manapool.clearPay(sa, test);
manapool.clearPay(sa, test);
return true;
}

View File

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

View File

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

View File

@@ -2324,7 +2324,8 @@ public class Upkeep extends Phase implements java.io.Serializable {
&& selectedCard.canBeTargetedBy(switchTargets)) {
newTarget[0] = selectedCard;
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());
AllZone.getStack().add(switchTargets);
this.stop();
@@ -2334,7 +2335,7 @@ public class Upkeep extends Phase implements java.io.Serializable {
}
}
};
ability.setDescription(keyword);
ability.setStackDescription("(OPTIONAL) " + keyword);

View File

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