Thomas Heigl created WICKET-6964: ------------------------------------ Summary: 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
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)