Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3501

Avoid cast in ParameterFilterInterceptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.1
    • 2.2.3
    • Core Interceptors
    • None
    • Patch

    Description

      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()) {

      Attachments

        Activity

          People

            jafl John Lindal
            jafl5272 John Lindal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: