You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Edgar Asatryan (Jira)" <ji...@apache.org> on 2020/03/02 10:57:00 UTC
[jira] [Created] (LANG-1523) Avoid unnecessary allocation in
StringUtils.wrapIfMissing
Edgar Asatryan created LANG-1523:
------------------------------------
Summary: Avoid unnecessary allocation in StringUtils.wrapIfMissing
Key: LANG-1523
URL: https://issues.apache.org/jira/browse/LANG-1523
Project: Commons Lang
Issue Type: Improvement
Components: lang.*
Affects Versions: 3.9
Reporter: Edgar Asatryan
The *StringUtils.wrapIfMissing* creates a new instance of *StringBuilder* regardless of whether the input is wrapped or not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)