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

> 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/TypeParams/docs/api/index.html)
>  only includes `java.base/lang`, `java.base/util` and `java.compiler/javax`

For now, I will try to have no whitespace when we only have one letter 
parameters i.e `<K,V,T>` and add whitespace when we have type expressions as in 
`IntStream flatMapToInt(Function<? super T, ? extends IntStream> mapper)`

In case we have both, I'll still add whitespace.

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

PR Comment: https://git.openjdk.org/jdk/pull/21759#issuecomment-2457472619

Reply via email to