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

Justin Lu jlu at openjdk.org
Tue Jan 17 23:51:22 UTC 2023

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

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

Additionally, removed a floating colon in the code example


Commit messages:
 - Spacing and floating colon removal
 - Switch to snippet

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

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

More information about the i18n-dev mailing list