RFR: 8336792: DateTimeFormatterBuilder append zeros based on StringBuilder.repeat
Chen Liang
liach at openjdk.org
Fri Jul 19 02:17:33 UTC 2024
On Thu, 18 Jul 2024 23:36:37 GMT, Shaojin Wen <duke at openjdk.org> wrote:
> The StringBuilder.repeat method was added in JDK 21, which can be used to make some minor optimizations to existing code, including DateTimeFormatterBuilder
Looks good and simple.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20245#pullrequestreview-2187172092
More information about the core-libs-dev
mailing list