Integrated: JDK-8258659: Eliminate whitespace comments from generated pages

Jonathan Gibbons jjg at openjdk.java.net
Mon Jan 11 18:50:26 UTC 2021


On Fri, 18 Dec 2020 04:20:39 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Empty comments were being used to stop empty nodes being optimized away in `HtmlTree.add`, but the empty comments caused annoying noise in the generated docs.  A better solution is to use `HtmlTree.EMPTY`, which had the right effect, without the unwanted side-effects.

This pull request has now been integrated.

Changeset: c956e7a6
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c956e7a6
Stats:     27 lines in 4 files changed: 0 ins; 17 del; 10 mod

8258659: Eliminate whitespace comments from generated pages

Reviewed-by: hannesw

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

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


More information about the javadoc-dev mailing list