forked from External/mage
Merge pull request #2868 from kubikrubikvkube/master
Functional interfaces annotation and bugfixes
This commit is contained in:
commit
a1bc43d33e
96 changed files with 215 additions and 157 deletions
|
|
@ -3,7 +3,7 @@ package mage.client.util;
|
|||
/**
|
||||
* @author nantuko
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Command {
|
||||
|
||||
void execute();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ import java.io.Serializable;
|
|||
* @author BetaSteward_at_googlemail.com
|
||||
* @param <E>
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface Listener<E extends Event> extends Serializable {
|
||||
|
||||
void event(E event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue