You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/05/28 20:46:00 UTC

[jira] [Updated] (TEXT-165) ResourceBundleStringLookup.lookup(String) throws Mi

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

Gary Gregory updated TEXT-165:
------------------------------
    Summary: ResourceBundleStringLookup.lookup(String) throws Mi  (was: ResourceBundleStringLookup.lookup(String))

> ResourceBundleStringLookup.lookup(String) throws Mi
> ---------------------------------------------------
>
>                 Key: TEXT-165
>                 URL: https://issues.apache.org/jira/browse/TEXT-165
>             Project: Commons Text
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>
> The method {{org.apache.commons.text.lookup.ResourceBundleStringLookup.lookup(String)}} throws a {{MissingResourceException}} instead of returning {{null}} if a key is absent.
> This is a problem when you are using a resource bundle like this for example, when the key is missing, we want the method to return null such that an interpolator can supply a default value.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)