summaryrefslogtreecommitdiffstats
path: root/documentation/datamodel/datamodel-hierarchical.asciidoc
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2017-05-04 08:29:35 +0300
committerHenri Sara <henri.sara@gmail.com>2017-05-04 08:29:35 +0300
commit0a8079a9b87285d73f1d81f3b20d4f5492e4cc99 (patch)
tree1a97089a80b3c53d58e1cf594a8d161cb42ea1b6 /documentation/datamodel/datamodel-hierarchical.asciidoc
parent3a7e95b98af0e9ad8f1d0160f6a1adcaa6cd8c58 (diff)
downloadvaadin-framework-0a8079a9b87285d73f1d81f3b20d4f5492e4cc99.tar.gz
vaadin-framework-0a8079a9b87285d73f1d81f3b20d4f5492e4cc99.zip
Fix three typos in the documentation (#9230)
Diffstat (limited to 'documentation/datamodel/datamodel-hierarchical.asciidoc')
-rw-r--r--documentation/datamodel/datamodel-hierarchical.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/datamodel/datamodel-hierarchical.asciidoc b/documentation/datamodel/datamodel-hierarchical.asciidoc
index 96a9d2381b..24d023acd9 100644
--- a/documentation/datamodel/datamodel-hierarchical.asciidoc
+++ b/documentation/datamodel/datamodel-hierarchical.asciidoc
@@ -28,7 +28,7 @@ HierarchyData<Project> data = new HierarchyData<>();
data.addItems(null, projects);
// add children for the root level items
-projects.forEach(project -> data.addItems(project, project.getChildren());
+projects.forEach(project -> data.addItems(project, project.getChildren()));
// construct the data provider for the hierarchical data we've built
InMemoryHierarchicalDataProvider<Project> dataProvider = new InMemoryHierarchicalDataProvider<>(data);
@@ -53,7 +53,7 @@ dataProvider.refreshAll();
=== Sorting and Filtering
-For [classname]#InMemoryHierarchicalDataProvider#, both the sorting and filtering API is the same as in [classname]ListDataProvider#. Sorting and filtering are applied separately for each hierarchy level, meaning e.g. that for a node that has not passed the filter there are no children shown.
+For [classname]#InMemoryHierarchicalDataProvider#, both the sorting and filtering API is the same as in [classname]#ListDataProvider#. Sorting and filtering are applied separately for each hierarchy level, meaning e.g. that for a node that has not passed the filter there are no children shown.
[source, java]
----