RFR: 8335645: j.u.Formatter#trailingZeros improved with String repeat

Chen Liang liach at openjdk.org
Wed Jul 3 21:55:20 UTC 2024


On Wed, 3 Jul 2024 21:43:05 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> In JDK 21, StringBuilder added a repeat method, which can be used to improve j.u.Formatter#trailingZeros

Marked as reviewed by liach (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/20018#pullrequestreview-2157534378


More information about the core-libs-dev mailing list