RFR: 8294361: Cleanup usages of StringBuffer in SQLOutputImpl

Lance Andersen lancea at openjdk.org
Mon Sep 26 19:41:14 UTC 2022


On Sat, 17 Sep 2022 21:43:04 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> There a few unnecessary usages of StringBuffer in SQLOutputImpl class.
> All of them create StringBuffer from single character and then concatenate with String. Instead of this, we can concatenate character directly.

The changes seem fine based on what your goal was.

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

Marked as reviewed by lancea (Reviewer).

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


More information about the core-libs-dev mailing list