You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/02/19 16:16:20 UTC

[jira] [Commented] (WW-4292) Don't use ServletContext when it can be referenced via field

    [ https://issues.apache.org/jira/browse/WW-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905540#comment-13905540 ] 

Lukasz Lenart commented on WW-4292:
-----------------------------------

PR for review
https://github.com/apache/struts/pull/1

> Don't use ServletContext when it can be referenced via field
> ------------------------------------------------------------
>
>                 Key: WW-4292
>                 URL: https://issues.apache.org/jira/browse/WW-4292
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.3.16
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.17
>
>
> Many classes have reference to ServletContext via field but there are many methods which pass ServletContext as a parameter.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)