diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2016-12-12 13:25:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 13:25:19 +0200 |
commit | ae567a02f3c397225c818c7387cb49545a4d5b4a (patch) | |
tree | 20330f21ebfc05873cd46e3eae2e71f692645806 /server/src/main/java/com/vaadin/event/UIEvents.java | |
parent | 10415247e58f4d3c768fafe5dad9ec1b35383e6b (diff) | |
download | vaadin-framework-ae567a02f3c397225c818c7387cb49545a4d5b4a.tar.gz vaadin-framework-ae567a02f3c397225c818c7387cb49545a4d5b4a.zip |
Add @FunctionalInterface annotation to interfaces where applicable (#7954)
Closes vaadin/framework8-issues#548
Diffstat (limited to 'server/src/main/java/com/vaadin/event/UIEvents.java')
-rw-r--r-- | server/src/main/java/com/vaadin/event/UIEvents.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/event/UIEvents.java b/server/src/main/java/com/vaadin/event/UIEvents.java index 1f696e9d6c..5c91fe78a9 100644 --- a/server/src/main/java/com/vaadin/event/UIEvents.java +++ b/server/src/main/java/com/vaadin/event/UIEvents.java @@ -39,6 +39,7 @@ public interface UIEvents { * @since 7.2 * @author Vaadin Ltd */ + @FunctionalInterface public interface PollListener extends Serializable { public static final Method POLL_METHOD = ReflectTools .findMethod(PollListener.class, "poll", PollEvent.class); |