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

Reduce cost of JcrResourceBundleProvider.onChange()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: i18n 2.5.6
    • Component/s: i18n
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: