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

Rob Tompkins commented on TEXT-45:
----------------------------------

I almost feel like we should just ditch

{code:java}
public static String capitalize(String str, char... delimiters) { ... }
{code}

for

{code:java}
public static String capitalize(String str, String delimiters) { ... }
{code}

as we have the ability to make API changes from [lang], but I'm torn with 
maintaining backwards compatibility.

> WordUtils delimiters should be strings, not char varargs
> --------------------------------------------------------
>
>                 Key: TEXT-45
>                 URL: https://issues.apache.org/jira/browse/TEXT-45
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Andrew Pennebaker
>            Priority: Minor
>              Labels: api,, interface,ease,of,use,, robustness,
>             Fix For: 1.1
>
>
> Strings behave like char varargs of arbitrary length, but are much easier to 
> use.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to