diff options
-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; * }); |