DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17882>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17882 Add join(..., char c) to StringUtils (and some performance fixes). Even contains tests! Summary: Add join(..., char c) to StringUtils (and some performance fixes). Even contains tests! Product: Commons Version: 1.0.1 Final Platform: PC OS/Version: Linux Status: NEW Severity: Enhancement Priority: Other Component: Lang AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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. :-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]