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

Minor enhancement/fix to AbstractLocalizedTextProvider

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            JCjA492kH6347Vb10Ja53 James Chaplin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment