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čí (Assigned JIRA)" <ji...@apache.org> on 2012/02/12 21:01:01 UTC
[jira] [Assigned] (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čí reassigned OWB-638:
-------------------------------
Assignee: Martin Kočí (was: Gurkan Erdogdu)
> [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
> Attachments: OWB-638.patch
>
>
> 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