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

iteration over Enumerations is wasting resources

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment