aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2017-11-10 11:42:23 +0200
committerGitHub <noreply@github.com>2017-11-10 11:42:23 +0200
commit8e14349e53c73e75c380ccd8405bb2c2ef9d51e6 (patch)
tree992e945fffdbb1d8795b25a887aefba0055e0af0 /server
parent838ad0727aab9cf2b42a8a40235b6bd1655a286d (diff)
downloadvaadin-framework-8e14349e53c73e75c380ccd8405bb2c2ef9d51e6.tar.gz
vaadin-framework-8e14349e53c73e75c380ccd8405bb2c2ef9d51e6.zip
Relax mapper access in HierarchicalDataCommunicator
Fixes #10292
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java
index 1d8588487f..f45bae9fea 100644
--- a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java
+++ b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java
@@ -322,4 +322,12 @@ public class HierarchicalDataCommunicator<T> extends DataCommunicator<T> {
super.setFilter(filter);
}
+ /**
+ * Returns active {@code HierarchyMapper}
+ *
+ * @return the mapper
+ */
+ protected HierarchyMapper<T, ?> getMapper() {
+ return mapper;
+ }
}