On Fri, 20 Jan 2023 19:54:44 GMT, Justin Lu <j...@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