William Collishaw created WFLY-12153:
----------------------------------------
Summary: Replace redundant StringBuilder append String.subString with append
CharSequence
Key: WFLY-12153
URL:
https://issues.jboss.org/browse/WFLY-12153
Project: WildFly
Issue Type: Enhancement
Reporter: William Collishaw
Assignee: Brian Stansberry
Replace all instances of redundant StringBuilder append String.subString with append
CharSequence
Both the following samples produce the same output:
{code:java}
buffer.append(str.substring(startIndex, endIndex));
buffer.append(str, startIndex, endIndex);
{code}
This minor enhancement removes an intermediate String construction during append
--
This message was sent by Atlassian Jira
(v7.12.1#712002)