Integrated: JDK-8303349: Simplify link format for generic types in index pages
Hannes Wallnöfer
hannesw at openjdk.org
Fri Mar 10 11:10:15 UTC 2023
On Tue, 28 Feb 2023 14:04:19 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
> Please review a simple change to simplify the format of links to generic types in various JavaDoc index pages. Previously, these included dedicated links for type parameters and bounds, which seems excessive for use in an index.
>
> Below are before and after screenshots for `Spliterator.ofPrimitive` (which is admittedly an extreme case) and neighboring index entries. Note that now links to generic types match what we do for executables, where the whole signature is used as link label.
>
> Before:
> <img width="804" alt="index-generic-links-1" src="https://user-images.githubusercontent.com/15975/221875901-07899cc7-8822-4e59-8b93-51efb6795a83.png">
>
> After:
> <img width="546" alt="index-generic-links-2" src="https://user-images.githubusercontent.com/15975/221875944-b3db5fab-4e11-493b-8499-54bfeccbeb65.png">
This pull request has now been integrated.
Changeset: 75d63062
Author: Hannes Wallnöfer <hannesw at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/75d630621c86840eed9b29bf6e4c5e22e82369f0
Stats: 65 lines in 6 files changed: 20 ins; 18 del; 27 mod
8303349: Simplify link format for generic types in index pages
Reviewed-by: jjg
-------------
PR: https://git.openjdk.org/jdk/pull/12786
More information about the javadoc-dev
mailing list