RFR: 8012675: Javadoc for javax.swing.text.html.parser.Parser.handleComment() needs to be updated [v18]

Alexey Ivanov aivanov at openjdk.org
Fri Jun 17 21:06:01 UTC 2022


On Fri, 17 Jun 2022 17:43:59 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Updated Parser class doc by appending to the doc regarding lack of support for HTML script tags. Adding this information to the "parse" function did not seem as consistent for formatting as adding it to the Parser class doc.
>
> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Clarified javadoc.

test/jdk/javax/swing/text/html/HtmlScriptTagParserTest.java line 43:

> 41: 
> 42: public class HtmlScriptTagParserTest {
> 43:     private static String instructionsText = "Pass if you can see the script " +

May I suggest adding `final` to instructions too?

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

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



More information about the client-libs-dev mailing list