On Fri, 30 Sep 2022 20:08:10 GMT, Justin Lu <d...@openjdk.org> wrote:
>> Problem: Unnecessary instances of StringBuffer within java.text (internal >> only) >> >> Fix: StringBuffer Replaced with StringBuilder, and adjusted variable/method >> names > > Justin Lu has updated the pull request incrementally with two additional > commits since the last revision: > > - Remove comment typo > - Remove test wrapper src/java.base/share/classes/java/text/DigitList.java line 796: > 794: temp.append("x10^"); > 795: temp.append(decimalAt); > 796: return temp.toString(); This could use chained method calls and avoid the local variable completely. ------------- PR: https://git.openjdk.org/jdk/pull/10475