commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <>
Subject [jira] [Moved] (TEXT-112) Conditional expansion (variation of default value syntax)
Date Sun, 04 Feb 2018 10:16:00 GMT


Pascal Schumacher moved LANG-1378 to TEXT-112:

        Fix Version/s:     (was: 3.8)
    Affects Version/s:     (was: 3.7)
          Component/s:     (was: lang.text.*)
             Workflow: jira  (was: Default workflow, editable Closed status)
                  Key: TEXT-112  (was: LANG-1378)
              Project: Commons Text  (was: Commons Lang)

> Conditional expansion (variation of default value syntax)
> ---------------------------------------------------------
>                 Key: TEXT-112
>                 URL:
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Charles Fineman
>            Priority: Major
> I'd like to propose an extension to the current syntax (and would consider submitting
a PR for it if folks are in favor of the proposal)
> There is currently support for: ${undefined.number:-1234567890}
> I'm proposing adding: ${defined.number:?The number is ${defined.number}}
> My quick glance of the recursive interpolation makes me feel this would be relatively
> Curious when the next version would be released (I asked because I could actually make
use of this in something I'm working on right now)

This message was sent by Atlassian JIRA

View raw message