On Thu, 10 Aug 2023 17:31:28 GMT, Naoto Sato <na...@openjdk.org> wrote:

>> Introducing a new formatting class for locale-dependent list patterns. The 
>> class is to provide the functionality from the Unicode Consortium's LDML 
>> specification for [list 
>> patterns](https://www.unicode.org/reports/tr35/tr35-general.html#ListPatterns).
>>  For example, given a list of String as "Monday", "Wednesday", "Friday", its 
>> `format` method would produce "Monday, Wednesday, and Friday" in US English. 
>> A CSR has also been drafted, and its draft javadoc can be viewed here: 
>> https://cr.openjdk.org/~naoto/JDK-8041488-ListPatterns-PR/api.00/java.base/java/text/ListFormat.html
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Reflecting review comments

src/java.base/share/classes/java/text/ListFormat.java line 199:

> 197: 
> 198:     /**
> 199:      * {@return the list format object for the default

"list format" will read better using the class name `ListFormat`. Here an in 
other `getInstance` methods.
As is, in prose it looks like it returns some kind of list.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15130#discussion_r1298831450

Reply via email to