commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-430) Add methods StringUtils.lowerCase(String, Locale) and StringUtils.upperCase(String, Locale)
Date Fri, 25 Apr 2008 13:55:55 GMT

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


Mime
View raw message