You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Corbin <dc...@imperitek.com> on 2001/08/24 13:18:15 UTC
Struts Fast collections, deprecation
I've just tried using FastTreeMap, and found that it had been deprecated.
Why? Is there replacement (other than the standard classes)? Can someone
update the online documentation to reflect this deprecation?
Thanks.
David Corbin
Re: Struts Fast collections, deprecation
Posted by ma...@tumbleweed.com.
I assume you're using Struts 1.0?
What happened is that a number of pieces of Struts were recognized as having
value outside of Struts. FastTreeMap is one of those pieces. A separate
package, called Collections, was created in the Jakarta Commons project as a
home for some of these. (Other pieces, such as the Digester, have been moved
to separate Commons components.)
In the Struts 1.1 code base (i.e. the nightly builds), the code has been
migrated to use the classes from the Commons packages. Prior to the release
of Struts 1.0, we knew this was going to happen, but the Commons packages
were not released in time for the change to be made in Struts 1.0. In the
interim, the Struts 1.0 versions of those classes were marked deprecated.
The bottom line is, you should use the Commons Collections package moving
forward, since it has now been released. However, it's safe to continue to
use the Struts versions with 1.0 for now, and ignore the deprecation
warnings, if you don't want to introduce a new dependency.
--
Martin Cooper
----- Original Message -----
From: "David Corbin" <dc...@imperitek.com>
To: "Struts User" <st...@jakarta.apache.org>
Sent: Friday, August 24, 2001 4:18 AM
Subject: Struts Fast collections, deprecation
> I've just tried using FastTreeMap, and found that it had been deprecated.
> Why? Is there replacement (other than the standard classes)? Can someone
> update the online documentation to reflect this deprecation?
>
> Thanks.
> David Corbin
>
>