Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5800

Remove unused Charset Map Variable and Method in ManagementHttpServer class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 19.0.0.Beta4, 19.0.0.Final
    • None
    • None
    • None

      Variable `USER_AGENT_CHARSET_MAP` should be removed since it is never used. It also calls the method `generateCharsetMap()`, which is costly because it compiles regex patterns. `generateCharsetMap()` should also be removed since it is only used by the aforementioned `USER_AGENT_CHARSET_MAP` variable.

              jmesnil1@redhat.com Jeff Mesnil
              clara0 Clara Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: