commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-39) WordUtils should use toXxxxCase(int) rather than toXxxxCase(char)
Date Wed, 03 May 2017 18:47:04 GMT

    [ https://issues.apache.org/jira/browse/TEXT-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995415#comment-15995415
] 

Pascal Schumacher commented on TEXT-39:
---------------------------------------

Now that WordUtils is back this should be fixed. A pull request would be very welcome.

> WordUtils should use toXxxxCase(int) rather than toXxxxCase(char)
> -----------------------------------------------------------------
>
>                 Key: TEXT-39
>                 URL: https://issues.apache.org/jira/browse/TEXT-39
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Sebb
>             Fix For: 1.1
>
>
> 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.15#6346)

Mime
View raw message