<i18n dev> RFR: 8300706: Use @snippet in java.text [v3]
Justin Lu
jlu at openjdk.org
Fri Jan 20 19:54:44 UTC 2023
> 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)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12121/files
- new: https://git.openjdk.org/jdk/pull/12121/files/5b0bfe85..f5f9632c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12121&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12121&range=01-02
Stats: 19 lines in 1 file changed: 0 ins; 4 del; 15 mod
Patch: https://git.openjdk.org/jdk/pull/12121.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12121/head:pull/12121
PR: https://git.openjdk.org/jdk/pull/12121
More information about the i18n-dev
mailing list