Integrated: JDK-8309471: Limit key characters in static index pages

Hannes Wallnöfer hannesw at openjdk.org
Fri Jun 16 15:07:16 UTC 2023


On Mon, 5 Jun 2023 13:50:06 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a simple change to avoid adding section index items (added in JDK-8286470) from appearing in the static index pages where the tend to cause trouble. 
> 
> The change is implemented by making `IndexItem.isTagItem()` behave true to its specification again and only return `true` if it actually represents a JavaDoc tag, and add a new `IndexItem.isSectionItem()` method for the new section index items. The new method is used to make sure section links are not listed in the index pages.

This pull request has now been integrated.

Changeset: 21f6d833
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/21f6d83358458c2e5a6cc1bc19a6a33b3262f990
Stats:     103 lines in 3 files changed: 87 ins; 0 del; 16 mod

8309471: Limit key characters in static index pages

Reviewed-by: jjg

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

PR: https://git.openjdk.org/jdk/pull/14312


More information about the javadoc-dev mailing list