You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2020/12/22 08:20:00 UTC

[jira] [Created] (LANG-1630) NPE lowerCase and upperCase when locale is null

Arturo Bernal created LANG-1630:
-----------------------------------

             Summary: NPE lowerCase and upperCase when locale is null 
                 Key: LANG-1630
                 URL: https://issues.apache.org/jira/browse/LANG-1630
             Project: Commons Lang
          Issue Type: Bug
            Reporter: Arturo Bernal


When the parameter Local is null where are getting NPE in the following method:
 * upperCase
 * lowerCase



 

Add control 

 
{code:java}
if (locale == null) { 
   throw new IllegalArgumentException("Locale must not be null"); 
}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)