forked from External/mage
MageServerImpl refactoring. More event logging.
This commit is contained in:
parent
a60c61cb00
commit
b9a65e7c62
8 changed files with 245 additions and 212 deletions
15
Mage.Common/src/mage/utils/ActionWithNullNegativeResult.java
Normal file
15
Mage.Common/src/mage/utils/ActionWithNullNegativeResult.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package mage.utils;
|
||||
|
||||
import mage.interfaces.ActionWithResult;
|
||||
|
||||
/**
|
||||
* This class always returns null independently from type <T> used.
|
||||
*
|
||||
* @author noxx
|
||||
*/
|
||||
public abstract class ActionWithNullNegativeResult<T> implements ActionWithResult<T> {
|
||||
@Override
|
||||
public T negativeResult() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue