mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Some formatting.
This commit is contained in:
parent
d27540a502
commit
10f6cbc2d5
3 changed files with 7 additions and 8 deletions
|
@ -31,7 +31,6 @@ package mage.abilities.costs.common;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.CostImpl;
|
||||
import mage.cards.Card;
|
||||
|
@ -47,7 +46,7 @@ import mage.target.common.TargetCardInHand;
|
|||
*/
|
||||
public class ExileFromHandCost extends CostImpl {
|
||||
|
||||
List<Card> cards = new ArrayList<Card>();
|
||||
List<Card> cards = new ArrayList<>();
|
||||
|
||||
public ExileFromHandCost(TargetCardInHand target) {
|
||||
this.addTarget(target);
|
||||
|
|
|
@ -55,8 +55,8 @@ import mage.watchers.common.CommanderCombatDamageWatcher;
|
|||
|
||||
public abstract class GameCommanderImpl extends GameImpl {
|
||||
|
||||
private final Map<UUID, Cards> mulliganedCards = new HashMap<UUID, Cards>();
|
||||
private final Set<CommanderCombatDamageWatcher> commanderCombatWatcher = new HashSet<CommanderCombatDamageWatcher>();
|
||||
private final Map<UUID, Cards> mulliganedCards = new HashMap<>();
|
||||
private final Set<CommanderCombatDamageWatcher> commanderCombatWatcher = new HashSet<>();
|
||||
|
||||
public GameCommanderImpl(MultiplayerAttackOption attackOption, RangeOfInfluence range, int freeMulligans) {
|
||||
super(attackOption, range, freeMulligans);
|
||||
|
|
|
@ -51,8 +51,8 @@ import mage.watchers.Watcher;
|
|||
*/
|
||||
public class ProwlWatcher extends Watcher {
|
||||
|
||||
private Map<UUID, Set<String>> damagingSubtypes = new HashMap<UUID, Set<String>>();
|
||||
private Set<UUID> allSubtypes = new HashSet<UUID>();
|
||||
private final Map<UUID, Set<String>> damagingSubtypes = new HashMap<>();
|
||||
private final Set<UUID> allSubtypes = new HashSet<>();
|
||||
|
||||
public ProwlWatcher() {
|
||||
super("Prowl", WatcherScope.GAME);
|
||||
|
@ -82,7 +82,7 @@ public class ProwlWatcher extends Watcher {
|
|||
} else {
|
||||
Set<String> subtypes = damagingSubtypes.get(creature.getControllerId());
|
||||
if (subtypes == null) {
|
||||
subtypes = new LinkedHashSet<String>();
|
||||
subtypes = new LinkedHashSet<>();
|
||||
}
|
||||
subtypes.addAll(creature.getSubtype());
|
||||
damagingSubtypes.put(creature.getControllerId(), subtypes);
|
||||
|
|
Loading…
Reference in a new issue