commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1143) StringUtils should use toXxxxCase(int) rather than toXxxxCase(char)
Date Sun, 19 Jul 2015 16:35:04 GMT

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

Mime
View raw message