You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Chaplin (JIRA)" <ji...@apache.org> on 2019/05/26 05:57:00 UTC

[jira] [Created] (WW-5034) Minor enhancement/fix to AbstractLocalizedTextProvider

James Chaplin created WW-5034:
---------------------------------

             Summary: Minor enhancement/fix to AbstractLocalizedTextProvider
                 Key: WW-5034
                 URL: https://issues.apache.org/jira/browse/WW-5034
             Project: Struts 2
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.5.20
            Reporter: James Chaplin
             Fix For: 2.5.21


Hello Apache Struts Team.

This Jira issue is to track a minor enhancement/fix for the AbstractLocalizedTextProvider. 

  - Made a "constant" static to save an initialization for instance members.
  - Updated clearBundle() method comment for accuracy, added debug log output.
  - Introduced a protected clearBundle(bundle, locale) method, with debug log output.
  - Introduced protected clearMissingBundlesCache() method, with debug log output.

The additional methods could allow for more flexible custom AbstractLocalizedTextProvider descendants for use in scenarios where applications desire different behaviour.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)