You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Martin Kočí (Resolved JIRA)" <ji...@apache.org> on 2012/02/13 21:15:00 UTC
[jira] [Resolved] (OWB-638) [PERF] Avoid unnecessary
AbstractList$Itr instances
[ https://issues.apache.org/jira/browse/OWB-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kočí resolved OWB-638.
-----------------------------
Resolution: Fixed
> [PERF] Avoid unnecessary AbstractList$Itr instances
> ---------------------------------------------------
>
> Key: OWB-638
> URL: https://issues.apache.org/jira/browse/OWB-638
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1.4
> Environment: OWB trunk
> Reporter: Martin Kočí
> Assignee: Martin Kočí
> Priority: Trivial
> Fix For: 1.1.4
>
> Attachments: OWB-638.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Avoid unnecessary AbstractList$Itr instances with if-check:
> if (stack.size() > 0)
> {
> ... stack.iterator()
> or with index based loop
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira