Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6395

Reduce cost of JcrResourceBundleProvider.onChange()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • i18n 2.5.6
    • i18n
    • None
    • Patch

    Description

      JcrResourceBundleProvider.onChange() is somewhat expensive because it refreshes the resource resolver in every call to isDictionaryResource(). It is sufficient to call it once in onChange().

      Attachments

        1. SLING-6395.patch
          1 kB
          Marcel Reutegger

        Activity

          People

            cziegeler Carsten Ziegeler
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: