Functional interfaces should be annotated as functional interfaces

This commit is contained in:
vraskulin 2017-02-15 19:23:12 +03:00
parent f1ef3bf68b
commit 752392fc46
22 changed files with 28 additions and 10 deletions

View file

@ -30,6 +30,7 @@ package mage.util.functions;
/**
* @author nantuko
*/
@FunctionalInterface
public interface Function<X, Y> {
X apply(Y in);
}