RFR: JDK-8263104: fix warnings for empty paragraphs

Alan Bateman alanb at openjdk.java.net
Sat Mar 6 09:38:08 UTC 2021


On Fri, 5 Mar 2021 19:36:13 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review some simple cleanup for empty `<p>` tags.
> 
> Two of the tags are completely redundant, and simply deleted.
> 
> The other three, in _package.html_ files are generally undesirable. Although the presumed intent of the `id` declaration is to label the `@see` info, proximity in the source code does not ensure proximity in the generated code. The actual result is an empty paragraph at the end of the enclosing generated `<div>`, and before the generated output for the `@since` tag.
> 
> The better solution is to move the `id` declaration into the `@see <a href...` and then delete the empty `<p>`.

Marked as reviewed by alanb (Reviewer).

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

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


More information about the security-dev mailing list