diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-02-05 12:24:59 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-02-05 12:24:59 +0200 |
commit | 4580cd0dc618a4a2a4a3e8f1c6ccbcb3814afc82 (patch) | |
tree | a03a3d99fe6f305ef168aba14c15c0ed53280e28 /server/src | |
parent | 27e7c1f762c1c9865e35d8d1bb6c590a948b8b64 (diff) | |
download | vaadin-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.java | 2 |
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<Person, String> wrappedProvider = dataProvider * .withConvertedFilter(filterText -> { - * Predicate<Person> predicate = person -> person.getName() + * SerializablePredicate<Person> predicate = person -> person.getName() * .startsWith(filterText); * return predicate; * }); |