<i18n dev> RFR: 8336847: Use pattern match switch in NumberFormat classes [v2]
Justin Lu
jlu at openjdk.org
Tue Jul 23 20:54:08 UTC 2024
> As discussed in https://github.com/openjdk/jdk/pull/19513#discussion_r1684957942, there is code within java.text.NumberFormat (and subclasses) that can use the pattern match switch to improve readability.
>
> As this is simply cleanup, there is no regression test added. (Tiers 1-3 and java_text JCK ran to ensure clean migration).
Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
reflect review
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20302/files
- new: https://git.openjdk.org/jdk/pull/20302/files/2efa5d3f..7799b0a6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20302&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20302&range=00-01
Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/20302.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20302/head:pull/20302
PR: https://git.openjdk.org/jdk/pull/20302
More information about the i18n-dev
mailing list