<i18n dev> RFR: 8300077: Refactor code examples to use @snippet in java.text.ChoiceFormat

Justin Lu duke at openjdk.org
Fri Jan 13 04:03:25 UTC 2023


This PR implements _JEP 413: Code Snippets in Java API Documentation_ for [java.text.ChoiceFormat](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/text/ChoiceFormat.html).

Code examples using <pre> ... </pre> blocks are replaced with the @ snippet syntax where applicable.

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

Commit messages:
 - Use snippets

Changes: https://git.openjdk.org/jdk/pull/11981/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11981&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300077
  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/11981.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11981/head:pull/11981

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


More information about the i18n-dev mailing list