From 59015344a7b6ff55cfddd63157c4438fe2a89166 Mon Sep 17 00:00:00 2001 From: Sviatoslav Hryb Date: Wed, 28 Apr 2021 16:47:16 +0300 Subject: [PATCH] Fix SpEL selection description in ref docs Closes gh-26852 --- src/docs/asciidoc/core/core-expressions.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-expressions.adoc b/src/docs/asciidoc/core/core-expressions.adoc index 26ee0e4c9e9..7d2caa9bec3 100644 --- a/src/docs/asciidoc/core/core-expressions.adoc +++ b/src/docs/asciidoc/core/core-expressions.adoc @@ -1820,8 +1820,8 @@ selection lets us easily get a list of Serbian inventors, as the following examp "members.?[nationality == 'Serbian']").getValue(societyContext) as List ---- -Selection is possible upon both lists and maps. For a list, the selection -criteria is evaluated against each individual list element. Against a map, the +Selection is actually supported for arrays and anything that implements `java.lang.Iterable` or `java.util.Map`. +For a list or array, the selection criteria is evaluated against each individual element. Against a map, the selection criteria is evaluated against each map entry (objects of the Java type `Map.Entry`). Each map entry has its key and value accessible as properties for use in the selection.