commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [beanutils] PROPOSAL: eliminate core dependency on collections
Date Thu, 06 May 2004 19:34:18 GMT

--- robert burrell donkin <robertburrelldonkin@blueyonder.co.uk> wrote:
> PROPOSAL: eliminate the core dependency on commons-collections
> 
> rationale - this will not only eliminate a sizable dependency for many 
> products depending on beanutils but also reduce chances of 
> compatibility issues with the various versions of collections.
> 
> PLAN:
> 
> 1 add org.apache.commons.collections.ArrayStack and 
> org.apache.commons.collections.Buffer source to beanutils (these are 
> required by the public API)

+1 if this is a temporary solution for backwards compatibility and the
duplicate classes will be removed in the next release when the deprecated
API is removed.

> 
> 2 replace the references to FastHashMap with a private static 
> implementation. consider whether to replace this altogether.

+1 on replacing altogether.  IMO, any Java class that states it's not
cross-platform in the javadocs should not be used.  Replacing with a
standard HashMap would be good.

> 
> 3 factor out a new bean-collections jar under extras/bean-collections 
> containing the (cool) implementations of collections stuffs using 
> beanutils bean-magic.

+1

David

> 
> i've made a start on this work (so if anyone has any reasonable 
> objections, now would be a very good time to state them :) but i'd be 
> willing to change if anyone comes up with any improvements to this 
> plan.
> 
> - robert



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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


Mime
View raw message