forked from External/mage
[refactoring][minor] Replaced all tabs with four spaces.
This commit is contained in:
parent
e646e4768d
commit
239a4fb100
2891 changed files with 79411 additions and 79411 deletions
|
|
@ -13,7 +13,7 @@ public class RemoveCounterSourceEffect extends OneShotEffect<RemoveCounterSource
|
|||
public RemoveCounterSourceEffect(Counter counter) {
|
||||
super(Constants.Outcome.UnboostCreature);
|
||||
this.counter = counter;
|
||||
setText();
|
||||
setText();
|
||||
}
|
||||
|
||||
public RemoveCounterSourceEffect(RemoveCounterSourceEffect effect) {
|
||||
|
|
@ -38,10 +38,10 @@ public class RemoveCounterSourceEffect extends OneShotEffect<RemoveCounterSource
|
|||
|
||||
private void setText() {
|
||||
if (counter.getCount() > 1) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("remove ").append(Integer.toString(counter.getCount())).append(" ").append(counter.getName()).append(" counters from {this}");
|
||||
staticText = sb.toString();
|
||||
} else
|
||||
staticText = "remove a " + counter.getName() + " counter from {this}";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("remove ").append(Integer.toString(counter.getCount())).append(" ").append(counter.getName()).append(" counters from {this}");
|
||||
staticText = sb.toString();
|
||||
} else
|
||||
staticText = "remove a " + counter.getName() + " counter from {this}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue