You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2005/11/04 07:46:20 UTC
[jira] Created: (XALANJ-2224) [PATCH] Switch to use 'new' collection apis
[PATCH] Switch to use 'new' collection apis
-------------------------------------------
Key: XALANJ-2224
URL: http://issues.apache.org/jira/browse/XALANJ-2224
Project: XalanJ2
Type: Improvement
Versions: Latest Development Code
Reporter: Dave Brosius
Priority: Trivial
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Resolved: (XALANJ-2224) [PATCH] Switch to use 'new'
collection apis
Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
[ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Closed: (XALANJ-2224) [PATCH] Switch to use 'new' collection
apis
Posted by "Dave Brosius (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANJ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius closed XALANJ-2224.
--------------------------------
Patch applied correctly
> [PATCH] Switch to use 'new' collection apis
> -------------------------------------------
>
> Key: XALANJ-2224
> URL: https://issues.apache.org/jira/browse/XALANJ-2224
> Project: XalanJ2
> Issue Type: Improvement
> Affects Versions: 2.7
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 2.7.1
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2224) [PATCH] Switch to use 'new'
collection apis
Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2224?page=comments#action_12373112 ]
Brian Minchau commented on XALANJ-2224:
---------------------------------------
Comments from JIRA bug Triage on Febrary 7, 2006:
> The suggested APIs are as of JRE 1.2, so it is OK to change to them.
> The purpose of the patch is to make experientation easier, to use another
implementation of List.
> Brian M. to look at patch.
> [PATCH] Switch to use 'new' collection apis
> -------------------------------------------
>
> Key: XALANJ-2224
> URL: http://issues.apache.org/jira/browse/XALANJ-2224
> Project: XalanJ2
> Type: Improvement
> Versions: Latest Development Code
> Reporter: Dave Brosius
> Priority: Trivial
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (XALANJ-2224) [PATCH] Switch to use 'new'
collection apis
Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANJ-2224?page=comments#action_12446059 ]
Brian Minchau commented on XALANJ-2224:
---------------------------------------
The Xalan PMC voted to drop support for JRE 1.1.x, so it is now OK to consider this patch.
> [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
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org