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 2022/03/23 17:11:00 UTC

[jira] [Updated] (WICKET-6964) Do not allocate when escaping empty string

     [ https://issues.apache.org/jira/browse/WICKET-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Heigl updated WICKET-6964:
---------------------------------
    Fix Version/s: 10.0.0
                   9.9.0

> Do not allocate when escaping empty string
> ------------------------------------------
>
>                 Key: WICKET-6964
>                 URL: https://issues.apache.org/jira/browse/WICKET-6964
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 9.8.0
>            Reporter: Thomas Heigl
>            Assignee: Thomas Heigl
>            Priority: Trivial
>             Fix For: 10.0.0, 9.9.0
>
>
> While debugging another issue, I noticed that escaping the markup for an empty string unnecessarily allocates a new {{{}AppendingStringBuffer{}}}. We should simply return the empty string instead.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)