[ 
https://issues.apache.org/jira/browse/OWB-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192318#comment-13192318
 ] 

Martin Kočí commented on OWB-638:
---------------------------------

If there are no objections, I will commit this patch soon. 
                
> [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: Gurkan Erdogdu
>            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


Reply via email to