[minor] formatting

This commit is contained in:
North 2012-07-03 21:25:57 +03:00
parent 4639abd279
commit d1f3e62d03

View file

@ -45,12 +45,12 @@ import mage.players.Player;
public class SkipNextPlayerUntapStepEffect extends OneShotEffect<SkipNextPlayerUntapStepEffect> { public class SkipNextPlayerUntapStepEffect extends OneShotEffect<SkipNextPlayerUntapStepEffect> {
public SkipNextPlayerUntapStepEffect() { public SkipNextPlayerUntapStepEffect() {
super(Constants.Outcome.Detriment); this("");
} }
public SkipNextPlayerUntapStepEffect(String text) { public SkipNextPlayerUntapStepEffect(String text) {
this(); super(Constants.Outcome.Detriment);
staticText = text; this.staticText = text;
} }
public SkipNextPlayerUntapStepEffect(SkipNextPlayerUntapStepEffect effect) { public SkipNextPlayerUntapStepEffect(SkipNextPlayerUntapStepEffect effect) {
@ -79,8 +79,7 @@ public class SkipNextPlayerUntapStepEffect extends OneShotEffect<SkipNextPlayerU
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
if (staticText.length() > 0) { if (staticText.length() > 0) {
sb.append(staticText); sb.append(staticText);
} } else {
else {
sb.append("target"); sb.append("target");
} }
sb.append("player skips his or her next untap step"); sb.append("player skips his or her next untap step");