Gary Gregory created TEXT-165:
---------------------------------

             Summary: ResourceBundleStringLookup.lookup(String)
                 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


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)

Reply via email to