Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6772

Use StandardCharset for URL encoding and decoding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.7.0, 9.0.0-M5
    • 9.0.0, 8.9.0
    • wicket-core
    • None

    Description

      Charset.forName showed up as a hot method in our production profiler:

      There is no reason to pass around strings for encodings. StandardCharset can be used since JDK 1.7.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            thomas.heigl Thomas Heigl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: