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

2020-12-22 Thread Arturo Bernal (Jira)


[ 
https://issues.apache.org/jira/browse/LANG-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17253600#comment-17253600
 ] 

Arturo Bernal commented on LANG-1630:
-

Yep. I saw it later. Thank you

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


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

2020-12-22 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/LANG-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17253497#comment-17253497
 ] 

Gary D. Gregory commented on LANG-1630:
---

This was implemented differently FYI.

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