Integrated: JDK-8263104: fix warnings for empty paragraphs

Jonathan Gibbons jjg at openjdk.java.net
Sat Mar 6 15:10:07 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>`.

This pull request has now been integrated.

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

8263104: fix warnings for empty paragraphs

Reviewed-by: alanb, lancea

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

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


More information about the security-dev mailing list