<i18n dev> RFR: 8300589: Use @snippet and @linkplain in java.text.CollationKey and java.text.CompactNumberFormat [v2]

Justin Lu jlu at openjdk.org
Fri Jan 20 17:31:26 UTC 2023


> This PR implements _JEP 413: Code Snippets in Java API Documentation_ for [java.text.CollationKey](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/text/CollationKey.html) and [java.text.CompactNumberFormat](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/text/CompactNumberFormat.html).
> 
> Code examples using <pre> ... </pre> blocks are replaced with the @ snippet syntax where applicable.
> 
> Additionally, for [java.text.CompactNumberFormat](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/text/CompactNumberFormat.html) internal plain text links using <a> ... </a> are replaced with @ linkplain. (External links are kept the same)

Justin Lu has updated the pull request incrementally with one additional commit since the last revision:

  Class can be removed for CNPatterns link

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12108/files
  - new: https://git.openjdk.org/jdk/pull/12108/files/889f582c..0bd91514

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12108&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12108&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/12108.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12108/head:pull/12108

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


More information about the i18n-dev mailing list