[ 
https://issues.apache.org/jira/browse/LANG-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592381#action_12592381
 ] 

Benjamin Bentmann commented on LANG-430:
----------------------------------------

Other methods from {{StringUtils}} are just null-safe wrappers around 
{{String}} methods, too, e.g. {{trim()}} or {{length()}}. Guess it's a matter 
of convenience.

Anyway, I'm also fine if {{StringUtils.upperCase()}} and 
{{StringUtils.lowerCase()}} would get removed. I just don't like to see that 
Lang only provides platform-dependent case transformations.

> Add methods StringUtils.lowerCase(String, Locale) and 
> StringUtils.upperCase(String, Locale)
> -------------------------------------------------------------------------------------------
>
>                 Key: LANG-430
>                 URL: https://issues.apache.org/jira/browse/LANG-430
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>         Attachments: LANG-430.patch
>
>
> Since the platform-dependence of 
> [String.to*Case()|http://java.sun.com/javase/6/docs/api/java/lang/String.html#toLowerCase()]
>  is usually not intended, developers will specify a fixed locale when doing 
> the case transformation (compare [Common Bug 
> #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html]). There are 
> currently not related methods in {{StringUtils}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to