Merge pull request #2868 from kubikrubikvkube/master

Functional interfaces annotation and bugfixes
This commit is contained in:
ingmargoudt 2017-02-15 20:27:21 +01:00 committed by GitHub
commit a1bc43d33e
96 changed files with 215 additions and 157 deletions

View file

@ -3,7 +3,7 @@ package mage.client.util;
/**
* @author nantuko
*/
@FunctionalInterface
public interface Command {
void execute();
}

View file

@ -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);