summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2018-02-05 12:24:59 +0200
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-02-05 12:24:59 +0200
commit4580cd0dc618a4a2a4a3e8f1c6ccbcb3814afc82 (patch)
treea03a3d99fe6f305ef168aba14c15c0ed53280e28 /server/src
parent27e7c1f762c1c9865e35d8d1bb6c590a948b8b64 (diff)
downloadvaadin-framework-4580cd0dc618a4a2a4a3e8f1c6ccbcb3814afc82.tar.gz
vaadin-framework-4580cd0dc618a4a2a4a3e8f1c6ccbcb3814afc82.zip
Fix code example in DataProvider JavaDoc (#10601)
Diffstat (limited to 'server/src')
-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;
* });