On Tue, 7 Jun 2022 00:35:56 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

>> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/ParamTaglet.java
>>  line 92:
>> 
>>> 90:                 ? utils.getTypeParamTrees(ee)
>>> 91:                 : utils.getParamTrees(ee);
>>> 92:         List<? extends Element> parameters = 
>>> input.isTypeVariableParamTag
>> 
>> Change both or neither; don't leave the code inconsistent
>
> I'm not sure why list of parameter trees have to be the same as list of 
> elements. I can change (methods such as) `Utils#getTypeParamTrees`, but I 
> cannot change (methods such as) `ExecutableElement#getTypeParameters` 
> (sadly). Useless bounded wildcards clutter code.

Hmm, not really convinced  but OK

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

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

Reply via email to