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

DefaultTypeConverter primitiveDefaults should be static

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.20
    • Component/s: Other
    • Labels:
      None

      Description

      Each type converter which extends DefaultTypeConverter ends up creating its own copy of the private final unmodifable map primitiveDefaults. It should just be static and be initialized statically.

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              perfnorm Jasper Rosenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: