You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/23 17:09:58 UTC
[jira] [Commented] (LANG-1143) StringUtils should use
toXxxxCase(int) rather than toXxxxCase(char)
[ https://issues.apache.org/jira/browse/LANG-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15599983#comment-15599983 ]
ASF GitHub Bot commented on LANG-1143:
--------------------------------------
GitHub user PascalSchumacher opened a pull request:
https://github.com/apache/commons-lang/pull/201
LANG-1143: StringUtils should use toXxxxCase(int) rather than toXxxxC…
…ase(char)
based on patch by Sebb
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PascalSchumacher/commons-lang LANG-1143
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/201.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #201
----
commit fc0f62597b8f0284413ea35c1d958e30fe20392f
Author: pascalschumacher <pa...@gmx.net>
Date: 2016-10-23T17:07:04Z
LANG-1143: StringUtils should use toXxxxCase(int) rather than toXxxxCase(char)
based on patch by Sebb
----
> 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: Review Patch
>
> 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)