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

Justin Lu jlu at openjdk.org
Wed Jan 18 19:02:39 UTC 2023


On Tue, 17 Jan 2023 23:55:41 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> src/java.base/share/classes/java/text/CollationElementIterator.java line 87:
>> 
>>> 85:  *      CollationElementIterator collationElementIterator = ruleBasedCollator.getCollationElementIterator(testString);
>>> 86:  *      int primaryOrder = CollationElementIterator.primaryOrder(collationElementIterator.next());
>>> 87:  *          :
>> 
>> I believe this is a typo, and have removed it
>
> My guess is that this was meant as a vertical ellipsis, so instead of removing it, you can replace it with `⋮`.

Makes sense, replaced it with `\u22ee` as you suggested and it displays `⋮` properly when the docs are compiled.

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

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


More information about the i18n-dev mailing list