<i18n dev> RFR: 8300706: Use @snippet in java.text [v3]

Naoto Sato naoto at openjdk.org
Fri Jan 20 22:08:11 UTC 2023


On Fri, 20 Jan 2023 19:54:44 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> Some classes / interfaces in java.text have already implemented JEP 413.
>> 
>> This PR implements _JEP 413: Code Snippets in Java API Documentation_ for the rest of [java.text](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/text/package-summary.html) including:
>> - BreakIterator
>> - CharacterIterator
>> - DateFormatSymbols
>> - DecimalFormat
>> - NumberFormat 
>> 
>> Code examples using <pre> ... </pre> blocks are replaced with the @ snippet syntax where applicable.
>
> Justin Lu has updated the pull request incrementally with three additional commits since the last revision:
> 
>  - Close catch on same line
>  - Use pattern matching instanceOf, expression switch statement, and improve for loop readability
>  - Use pattern IOf (1st snippet)

Marked as reviewed by naoto (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/12121


More information about the i18n-dev mailing list