]> source.dussan.org Git - vaadin-framework.git/commitdiff
Make CollapseListener and ExpandListener extend SerializableEventListener
authorAleksi Hietanen <aleksi@vaadin.com>
Wed, 10 May 2017 10:02:06 +0000 (13:02 +0300)
committerHenri Sara <henri.sara@gmail.com>
Tue, 16 May 2017 12:35:17 +0000 (15:35 +0300)
server/src/main/java/com/vaadin/event/CollapseEvent.java
server/src/main/java/com/vaadin/event/ExpandEvent.java

index f0ba6d19078c7b067ff10b35dff8ec7179a258c0..78da8d15293b9c6cfbf2d94a64ac443b7453495f 100644 (file)
@@ -15,7 +15,6 @@
  */
 package com.vaadin.event;
 
-import java.io.Serializable;
 import java.lang.reflect.Method;
 
 import com.vaadin.ui.Component;
@@ -82,7 +81,7 @@ public class CollapseEvent<T> extends Component.Event {
      * @since 8.1
      */
     @FunctionalInterface
-    public interface CollapseListener<T> extends Serializable {
+    public interface CollapseListener<T> extends SerializableEventListener {
 
         public static final Method COLLAPSE_METHOD = ReflectTools.findMethod(
                 CollapseListener.class, "itemCollapse", CollapseEvent.class);
index ce11bd4d8ceeaf3d603462704e8be21ea012d45b..5340489ee21610625fe4c104854c4ff7bdc3329e 100644 (file)
@@ -15,7 +15,6 @@
  */
 package com.vaadin.event;
 
-import java.io.Serializable;
 import java.lang.reflect.Method;
 
 import com.vaadin.ui.Component;
@@ -81,7 +80,7 @@ public class ExpandEvent<T> extends Component.Event {
      * @since 8.1
      */
     @FunctionalInterface
-    public interface ExpandListener<T> extends Serializable {
+    public interface ExpandListener<T> extends SerializableEventListener {
 
         public static final Method EXPAND_METHOD = ReflectTools.findMethod(
                 ExpandListener.class, "itemExpand", ExpandEvent.class);