Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5034

Minor enhancement/fix to AbstractLocalizedTextProvider

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JCjA492kH6347Vb10Ja53 James Chaplin
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: