=?iso-8859-1?Q?J=FCrgen_Hoffmann?= <[EMAIL PROTECTED]> writes:

Ugh, right on the spot. :-) 

That's the one where we have no real replacement. Replacement is to
use a data structure which adds a member only once but keeps its
sequence.

I once had such a bugger, called an OrderedSet, and this went into
commons collections as SequencedSet decorator. However, it will be
only available with the next commons collections release (the CVS
speaks of "3.0"). However, I deprecated this so I can remove it in the
2.4-dev cycle in favour of the SequencedSet. As far as I know, Martin
has a similar construct in the Torque code which could be replaced
with SequencedSet.

If you want to get rid of the deprecation warning, remove the
@deprecated =;-) Or get a commons-collections snapshot, replace the
underlying Sets with SequencedSet and replace all "addOnce" with
"add".

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

--- Quote of the week: "It is pointless to tell people anything when
you know that they won't process the message." --- Jonathan Revusky

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to