[
https://issues.apache.org/jira/browse/JEXL-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro updated JEXL-440:
-------------------------------
Description:
switch / case / default basic behavior; statement and expression
The differences between statement & expressions:
Syntax:
switch (s) {
case 1: {
// some code
break;
}
case 2:
// more code, follow through to 3
case 3:
}
was:
switch / case / default basic behavior; statement and expression
The differences between statement & expressions:
Syntax:
switch (s) {
}
> Switch statement & expressions
> ------------------------------
>
> Key: JEXL-440
> URL: https://issues.apache.org/jira/browse/JEXL-440
> Project: Commons JEXL
> Issue Type: New Feature
> Affects Versions: 3.5.0
> Reporter: Henri Biestro
> Assignee: Henri Biestro
> Priority: Major
> Fix For: Later
>
>
> switch / case / default basic behavior; statement and expression
> The differences between statement & expressions:
> Syntax:
> switch (s) {
> case 1: {
> // some code
> break;
> }
> case 2:
> // more code, follow through to 3
> case 3:
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)