summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2016-12-15 10:47:32 +0200
committerIlia Motornyi <elmot@vaadin.com>2016-12-15 10:47:32 +0200
commit334fd4bcef760930651308ec94aeceaac6563c87 (patch)
treee98033f9d1385b9cec9dbf1547fcd10b9d5d1050 /uitest
parent9e62f59b36fb71329e752be0c6f039c27198d582 (diff)
downloadvaadin-framework-334fd4bcef760930651308ec94aeceaac6563c87.tar.gz
vaadin-framework-334fd4bcef760930651308ec94aeceaac6563c87.zip
Add ValueProvider interface, use where appropriate
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDown.java4
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 8f92e431c4..72d5ade310 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
@@ -3,7 +3,7 @@ package com.vaadin.tests.components.grid;
import java.util.ArrayList;
import java.util.List;
-import com.vaadin.server.SerializableFunction;
+import com.vaadin.data.ValueProvider;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.data.DataProvider;
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", SerializableFunction.identity());
+ grid.addColumn("Name", ValueProvider.identity());
List<String> data = new ArrayList<>();
for (int i = 0; i < 1000; i++) {