diff --git a/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/LazyTestData.java b/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/LazyTestData.java index 6d4a1da..fdf7b0e 100644 --- a/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/LazyTestData.java +++ b/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/LazyTestData.java @@ -21,6 +21,7 @@ package com.flowingcode.vaadin.addons.gridhelpers; import com.github.javafaker.Faker; +import java.io.Serializable; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -28,7 +29,8 @@ import lombok.Setter; import org.apache.commons.lang3.StringUtils; -class LazyTestData { +@SuppressWarnings("serial") +class LazyTestData implements Serializable { private static final Faker faker = new Faker(); diff --git a/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/Person.java b/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/Person.java index b95dc00..d540d48 100644 --- a/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/Person.java +++ b/src/test/java/com/flowingcode/vaadin/addons/gridhelpers/Person.java @@ -20,6 +20,7 @@ package com.flowingcode.vaadin.addons.gridhelpers; +import java.io.Serializable; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.Builder; @@ -29,12 +30,13 @@ import lombok.experimental.FieldDefaults; import lombok.experimental.NonFinal; +@SuppressWarnings("serial") @Getter @AllArgsConstructor @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true) @EqualsAndHashCode @Builder -public class Person { +public class Person implements Serializable { @Setter @NonFinal boolean active;