You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thomas Heigl (Jira)" <ji...@apache.org> on 2020/04/27 15:12:00 UTC

[jira] [Created] (WICKET-6772) Use StandardCharset for URL encoding and decoding

Thomas Heigl created WICKET-6772:
------------------------------------

             Summary: Use StandardCharset for URL encoding and decoding
                 Key: WICKET-6772
                 URL: https://issues.apache.org/jira/browse/WICKET-6772
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-core
    Affects Versions: 9.0.0-M5, 8.7.0
            Reporter: Thomas Heigl
         Attachments: image-2020-04-27-17-10-07-544.png

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

!image-2020-04-27-17-10-07-544.png!

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)