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

ASF subversion and git services commented on WICKET-6964:
---------------------------------------------------------

Commit 07fe09a6b87411977100317b240bc41be0d929fc in wicket's branch 
refs/heads/wicket-9.x from Thomas Heigl
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=07fe09a ]

WICKET-6964 Do not allocate when escaping empty string (#502)

(cherry picked from commit 28cda68f6e589b4a1d74536fd67c0bc570ebce6e)


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

Reply via email to