aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/data/provider/DataProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/DataProvider.java b/server/src/main/java/com/vaadin/data/provider/DataProvider.java
index fc62536b3a..e564b254cb 100644
--- a/server/src/main/java/com/vaadin/data/provider/DataProvider.java
+++ b/server/src/main/java/com/vaadin/data/provider/DataProvider.java
@@ -161,7 +161,7 @@ public interface DataProvider<T, F> extends Serializable {
* // ComboBox uses String as the filter type
* DataProvider&lt;Person, String&gt; wrappedProvider = dataProvider
* .withConvertedFilter(filterText -&gt; {
- * Predicate&lt;Person&gt; predicate = person -&gt; person.getName()
+ * SerializablePredicate&lt;Person&gt; predicate = person -&gt; person.getName()
* .startsWith(filterText);
* return predicate;
* });