On Tue, 17 Jan 2023 23:14:53 GMT, Justin Lu <j...@openjdk.org> wrote:

> 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

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

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

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

Reply via email to