Integrated: 8342808: Javadoc should add whitespace between type parameters

Nizar Benalla nbenalla at openjdk.org
Wed Nov 27 15:38:50 UTC 2024


On Tue, 29 Oct 2024 11:14:54 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

> EDIT: Here are the [generated docs](https://cr.openjdk.org/~nbenalla/GeneratedDocs/8342808/docs/api/index.html) after the latest changes.
> 
> Please review this patch to render javadocs as `<K, V, T>` rather than `<K,V,T>` to match naming conventions and make the rendered output slighly nicer to read.
> 
> Passes langtool tests.
> 
> The [generated docs](https://cr.openjdk.org/~nbenalla/GeneratedDocs/K-V-space/docs/api/index.html) only include `java.base`.
> 
> Note for reviewers:
> 
> In `TestInheritence`, B is a user defined class and `TypeMirror::getKind` returns `DECLARED `. Which why we see this output. 
> 
> 
> 
> html
> 
> Class D<R,S>
> java.lang.Object
> [pkg.A](https://htmledit.squarefree.com/A.html)<S, [B](https://htmledit.squarefree.com/B.html)>
> [pkg.B](https://htmledit.squarefree.com/B.html)<S, [B](https://htmledit.squarefree.com/B.html)>
> pkg.D<R,S>

This pull request has now been integrated.

Changeset: b89cba75
Author:    Nizar Benalla <nbenalla at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b89cba7517b5b7373988d15f3a22c412455e5cbd
Stats:     86 lines in 12 files changed: 13 ins; 20 del; 53 mod

8342808: Javadoc should add whitespace between type parameters

Reviewed-by: hannesw

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

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


More information about the javadoc-dev mailing list