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

iteration over Enumerations is wasting resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: