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
|
|
@ -47,14 +47,14 @@ import mage.players.Player;
|
|||
*/
|
||||
public class ParleyCount implements DynamicValue, MageSingleton {
|
||||
|
||||
private static final ParleyCount fINSTANCE = new ParleyCount();
|
||||
private static final ParleyCount instance = new ParleyCount();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static ParleyCount getInstance() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -82,7 +82,7 @@ public class ParleyCount implements DynamicValue, MageSingleton {
|
|||
|
||||
@Override
|
||||
public ParleyCount copy() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue