Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 80118 invoked from network); 25 Apr 2008 14:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2008 14:11:35 -0000 Received: (qmail 8499 invoked by uid 500); 25 Apr 2008 14:11:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 8414 invoked by uid 500); 25 Apr 2008 14:11:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 8403 invoked by uid 99); 25 Apr 2008 14:11:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 07:11:35 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 14:10:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C9534234C107 for ; Fri, 25 Apr 2008 07:07:55 -0700 (PDT) Message-ID: <313038333.1209132475823.JavaMail.jira@brutus> Date: Fri, 25 Apr 2008 07:07:55 -0700 (PDT) From: "Benjamin Bentmann (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (LANG-430) Add methods StringUtils.lowerCase(String, Locale) and StringUtils.upperCase(String, Locale) In-Reply-To: <1623011917.1209130795782.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.