jdk icon indicating copy to clipboard operation
jdk copied to clipboard

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

Open wenshao opened this issue 7 months ago • 8 comments

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


Progress

  • [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue

Issue

  • JDK-8335645: j.u.Formatter#trailingZeros improved with String repeat (Enhancement - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/20018/head:pull/20018
$ git checkout pull/20018

Update a local copy of the PR:
$ git checkout pull/20018
$ git pull https://git.openjdk.org/jdk.git pull/20018/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 20018

View PR using the GUI difftool:
$ git pr show -t 20018

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/20018.diff

Webrev

Link to Webrev Comment

wenshao avatar Jul 03 '24 21:07 wenshao