diff options
author | Leif Åstrand <leif@vaadin.com> | 2016-10-21 11:11:27 +0300 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-10-24 15:59:24 +0300 |
commit | 3f37f893cbebebc3c9ddbeaaedba4658026428f0 (patch) | |
tree | 327e773596cc814f1f0c88a2d9208895c97afc80 /uitest/src | |
parent | 51c0978af84f5383fcf25bd92b1cbbea28243edd (diff) | |
download | vaadin-framework-3f37f893cbebebc3c9ddbeaaedba4658026428f0.tar.gz vaadin-framework-3f37f893cbebebc3c9ddbeaaedba4658026428f0.zip |
Correct serializable issues and test that components can be serialized
Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
Diffstat (limited to 'uitest/src')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java b/uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java index 0ce70b722e..b452965765 100644 --- a/uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java +++ b/uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java @@ -2,8 +2,8 @@ package com.vaadin.tests.components.grid; import java.util.ArrayList; import java.util.List; -import java.util.function.Function; +import com.vaadin.server.SerializableFunction; import com.vaadin.server.VaadinRequest; import com.vaadin.server.data.DataSource; import com.vaadin.tests.components.AbstractTestUI; @@ -16,7 +16,7 @@ public class GridApplyFilterWhenScrolledDown extends AbstractTestUI { protected void setup(VaadinRequest request) { Grid<String> grid = new Grid<>(); - grid.addColumn("Name", Function.identity()); + grid.addColumn("Name", SerializableFunction.identity()); List<String> data = new ArrayList<>(); for (int i = 0; i < 1000; i++) { |