On Fri, 23 Feb 2024 00:21:57 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> Justin Lu has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   revert enum change
>
> src/java.base/share/classes/java/text/ChoiceFormat.java line 342:
> 
>> 340:         } else {
>> 341:             num = Double.parseDouble(str);
>> 342:         }
> 
> Could use enhanced switch?

Yes, much cleaner that way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17883#discussion_r1500969086

Reply via email to