[ 
https://issues.apache.org/jira/browse/LANG-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351726#comment-16351726
 ] 

Pascal Schumacher commented on LANG-1378:
-----------------------------------------

Thanks for the proposal. 

I guess you are talking about StrSubstitutor? This class has been deprecated in 
version 3.6 and is now maintained as part of commons-text.

I will therefore move this issue to commons-text.

> Conditional expansion (variation of default value syntax)
> ---------------------------------------------------------
>
>                 Key: LANG-1378
>                 URL: https://issues.apache.org/jira/browse/LANG-1378
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.text.*
>    Affects Versions: 3.7
>            Reporter: Charles Fineman
>            Priority: Major
>             Fix For: 3.8
>
>
> 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 straightforward.
>  
> 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
(v7.6.3#76005)

Reply via email to