[
https://issues.apache.org/jira/browse/TEXT-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046852#comment-16046852
]
ASF GitHub Bot commented on TEXT-88:
------------------------------------
GitHub user ameyjadiye opened a pull request:
https://github.com/apache/commons-text/pull/48
TEXT-88: Fixed issue with empty delimiters array with capitalizeFully
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ameyjadiye/commons-text TEXT-88
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-text/pull/48.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 #48
----
commit 0dd69e060be13c596316e878da2c3591b722c015
Author: Amey Jadiye <[email protected]>
Date: 2017-06-12T17:56:46Z
TEXT-88: Fixed issue with empty delimiters array with capitalizeFully
----
> WordUtils.capitalizeFully behaves in a counterintuitive manner with empty
> delimiter array.
> ------------------------------------------------------------------------------------------
>
> Key: TEXT-88
> URL: https://issues.apache.org/jira/browse/TEXT-88
> Project: Commons Text
> Issue Type: Bug
> Reporter: Rob Tompkins
>
> As discussed in TEXT-85, it seems that
> {code:java}
> WordUtils.capitalizeFully("i am fine", new char[]{}) // --> i am fine
> {code}
> Both Sebb and Arun think that this is odd and that the letter "i" should have
> been capitalized resulting in the output {{I am fine}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)