Manual: Made it clear that ?seq_contains doesn't use Object.equals

Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/94aca686
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/94aca686
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/94aca686

Branch: refs/heads/2.3
Commit: 94aca686b8a9f0aaddbed97873fb9190a4a46992
Parents: f1da9b4
Author: ddekany <ddek...@apache.org>
Authored: Mon Jan 29 10:55:38 2018 +0100
Committer: ddekany <ddek...@apache.org>
Committed: Mon Jan 29 10:55:38 2018 +0100

----------------------------------------------------------------------
 src/manual/en_US/book.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/94aca686/src/manual/en_US/book.xml
----------------------------------------------------------------------
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index 81b5823..aa509de 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -16689,8 +16689,12 @@ red, green, blue.
             variable can be both string and sequence on the same time).</para>
           </note>
 
-          <para>Tells if the sequence contains the specified value. It has 1
-          parameter, the value to find. Example:</para>
+          <para>Tells if the sequence contains the specified value (according
+          the <link
+          linkend="dgui_template_exp_comparison"><literal>==</literal>
+          operator</link> of the template language, not according Java's
+          <literal>Object.equals</literal>). It has 1 parameter, the value to
+          find. Example:</para>
 
           <programlisting role="template">&lt;#assign x = ["red", 16, "blue", 
"cyan"]&gt;
 "blue": ${x?seq_contains("blue")?string("yes", "no")}

Reply via email to