forked from External/mage
Properties can be final in these objects
This commit is contained in:
parent
33b9ec52b0
commit
b626bf6866
5 changed files with 12 additions and 13 deletions
|
|
@ -42,9 +42,9 @@ import mage.target.Target;
|
|||
*/
|
||||
public class TargetAddress {
|
||||
|
||||
protected int spellAbilityIndex;
|
||||
protected UUID mode;
|
||||
protected int targetIndex;
|
||||
protected final int spellAbilityIndex;
|
||||
protected final UUID mode;
|
||||
protected final int targetIndex;
|
||||
|
||||
public TargetAddress(int spellAbilityIndex, UUID mode, int targetIndex) {
|
||||
this.spellAbilityIndex = spellAbilityIndex;
|
||||
|
|
@ -68,7 +68,7 @@ public class TargetAddress {
|
|||
|
||||
protected static class TargetAddressIterator implements Iterator<TargetAddress> {
|
||||
|
||||
protected Iterator<SpellAbility> spellAbilityIterator;
|
||||
protected final Iterator<SpellAbility> spellAbilityIterator;
|
||||
protected Integer lastSpellAbilityIndex = null;
|
||||
protected Iterator<UUID> modeIterator = null;
|
||||
protected Modes modes = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue