You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "John Lindal (JIRA)" <ji...@apache.org> on 2011/01/31 19:40:30 UTC
[jira] Reopened: (WW-3501) Avoid cast in ParameterFilterInterceptor
[ https://issues.apache.org/jira/browse/WW-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Lindal reopened WW-3501:
-----------------------------
> Avoid cast in ParameterFilterInterceptor
> ----------------------------------------
>
> Key: WW-3501
> URL: https://issues.apache.org/jira/browse/WW-3501
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.2.1
> Reporter: John Lindal
> Assignee: John Lindal
> Priority: Trivial
> Fix For: 2.2.2
>
>
> Since includesExcludesMap is defined as Map<String, Boolean>, instead of:
> for (Object o1 : includesExcludesMap.keySet()) {
> String currRule = (String) o1;
> use:
> for (String currRule : includesExcludesMap.keySet()) {
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira