commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [collections][lang] deprecate StringStack
Date Fri, 11 Oct 2002 07:25:16 GMT


On 10 Oct 2002, John McNally wrote:

> 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 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?

Well.... It can be done. Touch more work as usual :)

HashSet the strings. Then pass an Iterator to StringUtils.join?

Just a thought.

> 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.

+1

Let me know what would be good for you in StringUtils.

Hen


--
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