Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3672

TODO 'optimize this code' in ResourceHandlerImpl.isResourceIdentifierExcluded()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.17, 2.1.11
    • None
    • None

    Description

      There is a small TODO 'optimize this code'-Comment in ResourceHandlerImpl.isResourceIdentifierExcluded().

      I saw (randomly) that and replaced it with the attached patch. It just saves the Array of exclude resource extensions instead of creating it newly on every method call.

      Maybe it's worth replacing it.

      Attachments

        1. MYFACES-3672-patch.txt
          2 kB
          dennis hoersch

        Activity

          People

            lu4242 Leonardo Uribe
            hoersch dennis hoersch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: