OpenWebBeans
  1. OpenWebBeans
  2. OWB-638

[PERF] Avoid unnecessary AbstractList$Itr instances

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.4
    • Component/s: Core
    • Labels:
      None
    • Environment:
      OWB trunk

      Description

      Avoid unnecessary AbstractList$Itr instances with if-check:

      if (stack.size() > 0)
      {
      ... stack.iterator()

      or with index based loop

      1. OWB-638.patch
        10 kB
        Martin Kočí

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development