On Wed, 3 Jul 2024 21:43:05 GMT, Shaojin Wen <d...@openjdk.org> wrote:
> In JDK 21, StringBuilder added a repeat method, which can be used to improve > j.u.Formatter#trailingZeros This pull request has now been integrated. Changeset: 194425d7 Author: Shaojin Wen <shaojin.we...@alibaba-inc.com> Committer: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/194425d7875ef42fce52516ed59c81ee97720399 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8335645: j.u.Formatter#trailingZeros improved with String repeat Reviewed-by: liach, jlu, naoto ------------- PR: https://git.openjdk.org/jdk/pull/20018