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

ActionSupport.LOG should be private

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.14.3
    • Fix Version/s: 2.5.10
    • Component/s: Core Actions
    • Labels:
      None

      Description

      ActionSupport is base class for actions. Actions cannot (or at least shouldn't) use ActionSupport.LOG because localisation source of messages is much harder in this situation. When ActionSuport.LOG is protected, some programmers might accidentally use this instance (LOG is popular name for loggers).

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              soldierkam Marcin Kamionowski
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: