RFR: JDK-8296661 : Fix typo

Alexey Ivanov aivanov at openjdk.org
Mon Dec 5 19:14:59 UTC 2022


On Fri, 4 Nov 2022 01:56:05 GMT, ScientificWare <duke at openjdk.org> wrote:

> This is referenced in Java Bug Database as
> - [JDK-8296661 : Fix typo](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8296661)
> 
> This is tracked in JBS as 
> - [JDK-8296661 : Fix typo](https://bugs.openjdk.java.net/browse/JDK-8296661)
> 
> I suspect a typo in the documentation comments.
> 
> Designed from : [ScientificWare JDK-8293776 : Fix typo](https://github.com/scientificware/jdk/issues/18)

Looks good to me.

In the description above: “…invoked one per property…”, it shoud be “once”.

I think there's room for improvement. However, this is an internal-only class.

You have to update the subject of the PR to match the JBS title which was edited by someone to be more specific.

src/java.desktop/share/classes/javax/swing/text/html/CSSParser.java line 53:

> 51:  * <p>
> 52:  * This will preserve case. If the callback wishes to treat certain portions
> 53:  * case insensitively (such as selectors), it should use toLowerCase, or

Should this be “case-insensitively” with the hyphen?

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

Marked as reviewed by aivanov (Reviewer).

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



More information about the client-libs-dev mailing list