struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Chaplin (JIRA)" <>
Subject [jira] [Created] (WW-5034) Minor enhancement/fix to AbstractLocalizedTextProvider
Date Sun, 26 May 2019 05:57:00 GMT
James Chaplin created WW-5034:

             Summary: Minor enhancement/fix to AbstractLocalizedTextProvider
                 Key: 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

View raw message