commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13367] - [PATCH] StringUtil enhancement
Date Mon, 17 Mar 2003 21:50:54 GMT
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=13367>.
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=13367

[PATCH] StringUtil enhancement





------- Additional Comments From apacheBugzilla@AMammenT.cotse.net  2003-03-17 21:50 -------
Regarding the second requested element....  I can see the need for something 
like this, but I question whether the trimming of the elements to be joined is 
something that is appropriate here....  Neither of the join functions 
currently a method of StringUtils does any trimming of the items being 
joined.  Join pre-trimmed items if this is required.  

I do see the value of not adding separators if the value being joined is null 
or empty.  In fact, I add that this might be useful functionality even for the 
two join methods currently available - rather than modify those signatures, 
however, add a boolean argument to indicate whether nulls/empties should be 
ignored, whether in Object arrays, in Iterators, or in a simply pair join.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message