Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F906175B3 for ; Sun, 19 Jul 2015 16:35:10 +0000 (UTC) Received: (qmail 55565 invoked by uid 500); 19 Jul 2015 16:35:04 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 55469 invoked by uid 500); 19 Jul 2015 16:35:04 -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 55402 invoked by uid 99); 19 Jul 2015 16:35:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2015 16:35:04 +0000 Date: Sun, 19 Jul 2015 16:35:04 +0000 (UTC) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1143) StringUtils should use toXxxxCase(int) rather than toXxxxCase(char) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14632867#comment-14632867 ] Henri Yandell commented on LANG-1143: ------------------------------------- Looks good to me. Passes tests. > StringUtils should use toXxxxCase(int) rather than toXxxxCase(char) > ------------------------------------------------------------------- > > Key: LANG-1143 > URL: https://issues.apache.org/jira/browse/LANG-1143 > Project: Commons Lang > Issue Type: Improvement > Components: lang.* > Reporter: Sebb > Fix For: 3.5 > > Attachments: LANG-1143.patch > > > The Javadoc for Character#toTitleCase(char) recommends using Character#toTitleCase(int) instead. This method was added in Java 1.5 which is perhaps is why it was not used originally; maybe we should use it now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)