You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/22 09:21:00 UTC

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

    [ https://issues.apache.org/jira/browse/WICKET-6964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510358#comment-17510358 ] 

ASF GitHub Bot commented on WICKET-6964:
----------------------------------------

theigl merged pull request #502:
URL: https://github.com/apache/wicket/pull/502


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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)