[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
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