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:37:00 UTC
[jira] [Closed] (LANG-1630) NPE lowerCase and upperCase when locale
is null
[ https://issues.apache.org/jira/browse/LANG-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arturo Bernal closed LANG-1630.
-------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)