You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "James Carman (JIRA)" <ji...@apache.org> on 2008/04/25 15:55:55 UTC

[jira] Commented: (LANG-430) Add methods StringUtils.lowerCase(String, Locale) and StringUtils.upperCase(String, Locale)

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

James Carman commented on LANG-430:
-----------------------------------

What does the upperCase() method buy us anyway?  Is it merely a null-safe alternative to String.toUpperCase()?

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