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

Phil Race prr at openjdk.java.net
Wed Jun 1 18:38:38 UTC 2022


On Tue, 31 May 2022 22:08:23 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:
> 
>   Removed print statements.

src/java.desktop/share/classes/javax/swing/text/html/HTMLDocument.java line 27:

> 25: package javax.swing.text.html;
> 26: 
> 27: import sun.swing.SwingUtilities2;

Hmm .. there's no change in this file except for import clean up.
Ordinarily I'd say revert but I can see it was quite a chunk ..

src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java line 1123:

> 1121:          */
> 1122:         public void handleComment(char[] data, int pos) {
> 1123:             System.out.println("HTMLEditorKit");

And this one ?

src/java.desktop/share/classes/javax/swing/text/html/parser/DocumentParser.java line 34:

> 32: import javax.swing.text.SimpleAttributeSet;
> 33: import javax.swing.text.html.HTML;
> 34: import javax.swing.text.html.HTMLEditorKit;

Then there's these changes. OK .. too much .. let's just revert all the files that are import only changes.

test/jdk/javax/swing/text/html/parser/HtmlTagParserTest.java line 1:

> 1: import java.awt.Dimension;

where's the GPL header on this test ?

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

PR: https://git.openjdk.java.net/jdk/pull/7446



More information about the client-libs-dev mailing list