forked from External/mage
rewrote singleton to enum where applicable
This commit is contained in:
parent
3b62489ef5
commit
234cfe9519
872 changed files with 1796 additions and 2135 deletions
|
|
@ -83,10 +83,10 @@ import mage.target.common.TargetOpponent;
|
|||
*/
|
||||
public class ClashEffect extends OneShotEffect implements MageSingleton {
|
||||
|
||||
private static final ClashEffect fINSTANCE = new ClashEffect();
|
||||
private static final ClashEffect instance = new ClashEffect();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
private ClashEffect() {
|
||||
|
|
@ -95,7 +95,7 @@ public class ClashEffect extends OneShotEffect implements MageSingleton {
|
|||
}
|
||||
|
||||
public static ClashEffect getInstance() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public ClashEffect(final ClashEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue