[
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)