Re: RFR: JDK-8258659: Eliminate whitespace comments from generated pages [v2]

2021-01-11 Thread Jonathan Gibbons
> 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. Jonathan Gibbons h

Re: RFR: JDK-8258659: Eliminate whitespace comments from generated pages

2021-01-11 Thread Hannes Wallnöfer
On Fri, 18 Dec 2020 04:20:39 GMT, Jonathan Gibbons 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 > ef

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

2020-12-17 Thread Jonathan Gibbons
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. - Commit mess