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 2022/09/15 07:11:00 UTC

[jira] [Closed] (WW-4475) OgnlValueStackFactory.setContainer() has unused local variable

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

Lukasz Lenart closed WW-4475.
-----------------------------
    Resolution: Fixed

> OgnlValueStackFactory.setContainer() has unused local variable
> --------------------------------------------------------------
>
>                 Key: WW-4475
>                 URL: https://issues.apache.org/jira/browse/WW-4475
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>              Labels: ognl
>             Fix For: 6.1.0
>
>
> Not sure of the intent, but this code appears to do nothing...
> {code:java}
> if (Map.class.isAssignableFrom(cls)) {
>     PropertyAccessor acc = container.getInstance(PropertyAccessor.class, name);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)