jdk
jdk copied to clipboard
8335645: j.u.Formatter#trailingZeros improved with String repeat
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
- Chen Liang (@liach - Committer)
- Justin Lu (@justin-curtis-lu - Committer)
- Naoto Sato (@naotoj - Reviewer)
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