You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Anthony Whitford (JIRA)" <ji...@apache.org> on 2015/11/04 06:09:27 UTC

[jira] [Updated] (LANG-1179) Add Properties support to StrLookup

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

Anthony Whitford updated LANG-1179:
-----------------------------------
    Attachment: StrLookup.patch

Revised patch with unit tests.

> Add Properties support to StrLookup
> -----------------------------------
>
>                 Key: LANG-1179
>                 URL: https://issues.apache.org/jira/browse/LANG-1179
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.text.*
>    Affects Versions: 3.4
>            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
(v6.3.4#6332)