struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4475) CarGurusValueStackFactory.setContainer() has unused local variable
Date Tue, 19 May 2015 16:12:00 GMT

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

Aleksandr Mashchenko commented on WW-4475:
------------------------------------------

CarGurusValueStackFactory ? :) You mean {{OgnlValueStackFactory}} ?

> CarGurusValueStackFactory.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: 2.5
>
>
> 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
(v6.3.4#6332)

Mime
View raw message