[ http://issues.apache.org/jira/browse/XALANJ-2224?page=all ]
Brian Minchau resolved XALANJ-2224.
-----------------------------------
Fix Version/s: Latest Development Code
Resolution: Fixed
I have reviewed the patch and approve it. I've tested it and committed it to the
latest development code.
The patch uses get/add/remove rather than elementAt/addElement/removeElement
moving us from 1.1.x APIs on a java.util.Vector to
similar on a java.util.AbstractList.
The only point of this patch is that in the future we might
experiment with different kinds of Lists and not be stuck
with a Vector.
> [PATCH] Switch to use 'new' collection apis
> -------------------------------------------
>
> Key: XALANJ-2224
> URL: http://issues.apache.org/jira/browse/XALANJ-2224
> Project: XalanJ2
> Issue Type: Improvement
> Affects Versions: Latest Development Code
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: Latest Development Code
>
> Attachments: use_new_collection_apis1.diff
>
>
> Current code relies on custom/ad-hoc apis of Vector and hashtable. Not only
> are these methods antiquated, but it makes switching collection
> implementations difficult. Switch to the 'new' collection apis, so that
> swapping implementations is simpler, if desired, in the future.
> This patch covers the Extensions classes
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]