<i18n dev> Integrated: 8336847: Use pattern match switch in NumberFormat classes
Justin Lu
jlu at openjdk.org
Wed Jul 24 20:16:37 UTC 2024
On Tue, 23 Jul 2024 17:28:02 GMT, Justin Lu <jlu at openjdk.org> wrote:
> 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).
This pull request has now been integrated.
Changeset: 5a8861a3
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5a8861a3a1b436ce7414176c095c58c9a1e038d6
Stats: 146 lines in 3 files changed: 3 ins; 28 del; 115 mod
8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
-------------
PR: https://git.openjdk.org/jdk/pull/20302
More information about the i18n-dev
mailing list