RFR: JDK-8296661 : Typo Found In CSSParser.java [v2]

ScientificWare duke at openjdk.org
Mon Dec 12 00:57:04 UTC 2022


On Mon, 5 Dec 2022 18:56:40 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> ScientificWare has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Another type.
>>   
>>   Replace one by once.
>
> 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?

case-insensitively seems to be the most common usage in this repository.

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

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



More information about the client-libs-dev mailing list