struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martin.coo...@tumbleweed.com
Subject Re: Struts Fast collections, deprecation
Date Sat, 25 Aug 2001 20:55:03 GMT
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" <dcorbin@imperitek.com>
To: "Struts User" <struts-user@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
>
>



Mime
View raw message