[
https://issues.apache.org/jira/browse/JEXL-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro updated JEXL-461:
-------------------------------
Assignee: Henri Biestro
> Updates/improvements to the site documentation for JEXL Syntax
> --------------------------------------------------------------
>
> Key: JEXL-461
> URL: https://issues.apache.org/jira/browse/JEXL-461
> Project: Commons JEXL
> Issue Type: Improvement
> Reporter: David Costanzo
> Assignee: Henri Biestro
> Priority: Minor
>
> The documentation at
> [https://commons.apache.org/proper/commons-jexl/reference/syntax.html] is
> missing some updates to the library.
> # The sentence beginning with "N.B. the following keywords are reserved" is
> missing a few keywords. The ones I noticed: "size", "empty", "if", "else",
> "let", "const", "switch", "case", "try", "catch", "finally".
> # The phrase "(expressed either a Java String or a java.util.regex.Pattern)"
> is missing a word. I think it is supposed to be "expressed as".
> # The link "Flow Control" should be "Control Flow" to match the heading.
> According to [Wikipedia|https://en.wikipedia.org/wiki/Control_flow], the
> heading uses the correct term, although I always confuse them.
> # In the description of "new", the phrase "Alternatively, using #pragma
> jexl.import java.langcode>" looks like there's a problem with the markup
> ("code>" should be "</code>").
> # switch statements and switch expressions are not documented.
> # The documentation for the array, map, and set literals don't mention that
> a trailing comma is legal.
> I can try to create a pull request for this, if you like.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)