[jira] [Commented] (TEXT-73) Add Properties support to StrLookup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (TEXT-73) Add Properties support to StrLookup

JIRA jira@apache.org

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

Pascal Schumacher commented on TEXT-73:

Issue moved from commons-lang to commons-text because StrLoockup is deprecated in commons-lang and was moved to commons-text.

> Add Properties support to StrLookup
> -----------------------------------
>                 Key: TEXT-73
>                 URL: https://issues.apache.org/jira/browse/TEXT-73
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Anthony Whitford
>            Priority: Minor
>         Attachments: StrLookup.patch, StrLookup.patch
> Sadly, [Properties|http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html] implements {{Map<Object,Object>}} instead of {{Map<String,String>}}, so one can not use the {{MapStrLookup}}.
> I propose adding a Properties variant.  Patch attached.

This message was sent by Atlassian JIRA