On Mon, 3 Oct 2022 20:42:55 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
>> 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. Thanks for pointing that out, made the switch there and in the getDouble() method as well. ------------- PR: https://git.openjdk.org/jdk/pull/10475