[
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)