struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4102) ActionSupport.LOG should be private
Date Sun, 13 Nov 2016 10:23:58 GMT

     [ https://issues.apache.org/jira/browse/WW-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4102:
------------------------------
    Fix Version/s:     (was: 2.5.x)
                   2.5.7

> ActionSupport.LOG should be private
> -----------------------------------
>
>                 Key: WW-4102
>                 URL: https://issues.apache.org/jira/browse/WW-4102
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.3.14.3
>            Reporter: Marcin Kamionowski
>             Fix For: 2.5.7
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message