This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3.34-maintenance
in repository https://gitbox.apache.org/repos/asf/freemarker.git
The following commit(s) were added to refs/heads/2.3.34-maintenance by this
push:
new a284a161 Corrected the stray usage of switch-with-case in the
switch-with-on example.
a284a161 is described below
commit a284a1618bcb76af167c09d3fe89231bf4208cb0
Author: Steve McLeod <[email protected]>
AuthorDate: Thu Nov 20 14:24:42 2025 +0100
Corrected the stray usage of switch-with-case in the switch-with-on example.
(cherry picked from commit 3e695bf03ae8c4f855856329ee63585a09b6c92a)
---
freemarker-manual/src/main/docgen/en_US/book.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/freemarker-manual/src/main/docgen/en_US/book.xml
b/freemarker-manual/src/main/docgen/en_US/book.xml
index 16803701..0a2062ff 100644
--- a/freemarker-manual/src/main/docgen/en_US/book.xml
+++ b/freemarker-manual/src/main/docgen/en_US/book.xml
@@ -25234,9 +25234,8 @@ or
<#on <replaceable>refValue2, refValue3</replaceable>>
<replaceable>... (Handles both refValue2 and refValue3)</replaceable>)
<replaceable>...</replaceable>
- <#case <replaceable>refValueN</replaceable>>
+ <#on <replaceable>refValueN</replaceable>>
<replaceable>...</replaceable>
- <#break>
<#default>
<replaceable>...</replaceable>
</#switch></literal></programlisting>