[ 
https://issues.apache.org/jira/browse/TEXT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory closed TEXT-169.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 1.8

In git master.

> Add helper factory method 
> org.apache.commons.text.StringSubstitutor.createInterpolator()
> ----------------------------------------------------------------------------------------
>
>                 Key: TEXT-169
>                 URL: https://issues.apache.org/jira/browse/TEXT-169
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 1.8
>
>
> Add helper factory method 
> {{org.apache.commons.text.StringSubstitutor.createInterpolator()}}:
> {code:java}
>     /**
>      * Creates a new instance using the interpolator string lookup {@link 
> StringLookupFactory#interpolatorStringLookup()}.
>      * 
>      * @return a new instance using the interpolator string lookup.
>      * @see StringLookupFactory#interpolatorStringLookup()
>      * @since 1.8
>      */
>     public static StringSubstitutor createInterpolator() {
>         return new 
> StringSubstitutor(StringLookupFactory.INSTANCE.interpolatorStringLookup());
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to