Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-638

[PERF] Avoid unnecessary AbstractList$Itr instances

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.1.4
    • 1.1.4
    • Core
    • None
    • OWB trunk

    Description

      Avoid unnecessary AbstractList$Itr instances with if-check:

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

      or with index based loop

      Attachments

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

        Activity

          People

            markoc50 Martin Kočí
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: