You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2019/08/20 09:39:36 UTC
[freemarker] 01/01: Fixed some typos in the Manual (including
FREEMARKER-118)
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3.29-maintenance
in repository https://gitbox.apache.org/repos/asf/freemarker.git
commit 04a0a6f46eeaf3dec23c72af9c034d7ac69ff388
Author: ddekany <dd...@apache.org>
AuthorDate: Tue Aug 20 11:39:18 2019 +0200
Fixed some typos in the Manual (including FREEMARKER-118)
---
src/manual/en_US/book.xml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index dea0f3f..7b4292d 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -17104,7 +17104,7 @@ Filer for positives:
Filer for positives:
1 2 4 6 </programlisting>
- <para>As you can see, <literal>take_while</literal> has stopped
+ <para>As you can see, <literal>drop_while</literal> has stopped
dropping the elements once it ran into the first element that didn't
match the predicate (<literal>x > 0</literal>). On the other
hand, <literal>filter</literal> keeps the elements that match the
@@ -28690,8 +28690,8 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
These allow using lambda expressions, like
<literal>users?filter(user -> user.superuser)</literal> or
<literal>users?map(user -> user.name)</literal>, or accept a
- functions/method as parameter. Lambda expressions are also new
- in this release, but they can only be used in said built-ins, so
+ function/method as parameter. Lambda expressions are also new in
+ this release, but they can only be used in said built-ins, so
they aren't like in Java for example, and also, unlike the
similar Java methods, these built-ins aren't lazy in general,
only in specific cases (see more <link
@@ -28742,9 +28742,10 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
</listitem>
<listitem>
- <para>Extended big decimal format parameter
- <quote>multiplier</quote> was incorrectly written as
- <quote>multipier</quote>. Now both words are recognized.</para>
+ <para><link linkend="extendedJavaDecimalFormat">Extended decimal
+ format</link> parameter <quote>multiplier</quote> was
+ incorrectly written as <quote>multipier</quote>. Now both words
+ are recognized.</para>
</listitem>
<listitem>