You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/12/14 07:06:58 UTC

[jira] [Updated] (SLING-6395) Reduce cost of JcrResourceBundleProvider.onChange()

     [ https://issues.apache.org/jira/browse/SLING-6395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated SLING-6395:
------------------------------------
    Attachment: SLING-6395.patch

Attached patch with proposed changes.

> Reduce cost of JcrResourceBundleProvider.onChange()
> ---------------------------------------------------
>
>                 Key: SLING-6395
>                 URL: https://issues.apache.org/jira/browse/SLING-6395
>             Project: Sling
>          Issue Type: Improvement
>          Components: i18n
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: i18n 2.5.6
>
>         Attachments: SLING-6395.patch
>
>
> 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().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)