[ 
https://issues.apache.org/jira/browse/LANG-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Wells updated LANG-244:
-----------------------------
    Reporter: Henning Schmiedehausen  (was: Henning Schmiedehausen)

> Add join(..., char c) to StringUtils (and some performance fixes). Even 
> contains tests!
> ---------------------------------------------------------------------------------------
>
>                 Key: LANG-244
>                 URL: https://issues.apache.org/jira/browse/LANG-244
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.0
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--lang.patch
>
>
> This is a patch to commons.lang to add the following two methods
> to StringUtils
> public static String join(Object[] array, char separator)
> public static String join(Iterator iterator, char separator)
> They're equal to the ..., String separator) methods but take
> a char as second parameter.
> I also took a look at the other join methods and enhanced them for the
> separator == null case.
> The test case for join has been extended for test cases of the new
> methods, tests for the null separator and some test for joining
> an empty array / collection object.
> Please apply. :-)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to