diff options
author | Tatu Lund <tatu@vaadin.com> | 2020-07-03 11:39:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 11:39:41 +0300 |
commit | 40570e17319d96adcfebaaa8c98b1e16f58902f0 (patch) | |
tree | a46553c609af2933f2a1dea5f6f4416a6a95db97 /uitest | |
parent | bafced6af34e398d52ef466b5752b34a8fd3684a (diff) | |
download | vaadin-framework-40570e17319d96adcfebaaa8c98b1e16f58902f0.tar.gz vaadin-framework-40570e17319d96adcfebaaa8c98b1e16f58902f0.zip |
Ensure type safety and serializable nature of all the listeners (#12045)
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/minitutorials/v7a3/Refresher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a3/Refresher.java b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a3/Refresher.java index 6878fc1bc6..9eaec04627 100644 --- a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a3/Refresher.java +++ b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a3/Refresher.java @@ -3,6 +3,7 @@ package com.vaadin.tests.minitutorials.v7a3; import java.lang.reflect.Method; import java.util.EventObject; +import com.vaadin.event.SerializableEventListener; import com.vaadin.server.AbstractExtension; import com.vaadin.tests.widgetset.client.minitutorials.v7a3.RefresherRpc; import com.vaadin.tests.widgetset.client.minitutorials.v7a3.RefresherState; @@ -10,7 +11,7 @@ import com.vaadin.ui.UI; import com.vaadin.util.ReflectTools; public class Refresher extends AbstractExtension { - public interface RefreshListener { + public interface RefreshListener extends SerializableEventListener { static Method METHOD = ReflectTools.findMethod(RefreshListener.class, "refresh", RefreshEvent.class); |