From 3f37f893cbebebc3c9ddbeaaedba4658026428f0 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 21 Oct 2016 11:11:27 +0300 Subject: Correct serializable issues and test that components can be serialized Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753 --- .../vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uitest/src') 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 grid = new Grid<>(); - grid.addColumn("Name", Function.identity()); + grid.addColumn("Name", SerializableFunction.identity()); List data = new ArrayList<>(); for (int i = 0; i < 1000; i++) { -- cgit v1.2.3