RFR: 8305920 : Replace String concatenation in a loop in SimpleAttributeSet.toString with StringBuilder

Renjith Kannath Pariyangad duke at openjdk.org
Fri Apr 14 16:06:28 UTC 2023


Replaced string concatenation using '+' operator with StringBuilder append function.

Please review.

Regards,
Renjith.

-------------

Commit messages:
 - Updated copyright year
 - JDK-8305920 : Replace String concatenation in a loop in SimpleAttributeSet.toString with StringBuilder

Changes: https://git.openjdk.org/jdk/pull/13479/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13479&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305920
  Stats: 9 lines in 1 file changed: 4 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/13479.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13479/head:pull/13479

PR: https://git.openjdk.org/jdk/pull/13479



More information about the client-libs-dev mailing list