Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3645

iteration over Enumerations is wasting resources

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.1
    • Component/s: None
    • Labels:
      None

      Description

      Why is a wrapper not being used? This is in effect doing double iteration, extra memory, etc.

      There is a wrapper in org.apache.struts2.util.IteratorFilterSupport: EnumerationIterator.

      patch forth comming

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              jpyeron Jason Pyeron
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: