RFR: 8336847: Use pattern match switch in NumberFormat classes [v3]

Justin Lu jlu at openjdk.org
Wed Jul 24 20:16:37 UTC 2024


On Wed, 24 Jul 2024 19:45:45 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).
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   reflect review comment

Thanks for the reviews.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20302#issuecomment-2248817446


More information about the core-libs-dev mailing list