commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [collections][lang] deprecate StringStack
Date Sun, 13 Oct 2002 11:18:39 GMT
StringStack is now deprecated as you propose.

Stephen

----- Original Message -----
From: "John McNally" <jmcnally@collab.net>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Thursday, October 10, 2002 10:19 PM
Subject: [collections][lang] deprecate StringStack


> This class is badly named and I am not sure it belongs in collections.
> The original use of this class was to join sql fragments together to
> form a where clause or a list of columns, etc.  So its class doc should
> be something like:
>
> This class provides a way to collect a list of unique strings and join
> them with an optional separator.
>
> This behavour is almost similar to StringUtils.join method though that
> does not handle the unique requirement.  Maybe a suitable replacement
> could be added to lang.StringUtils?
>
> StringStack's original source was torque and we will adjust to the
> removal of the class.  It really should be deprecated, I'm not sure I
> see the value in trying to create a Stack or List implementation out of
> the current class.
>
> john mcnally
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>


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


Mime
View raw message