RFR: 8285488: Improve DocFinder [v3]
Jonathan Gibbons
jjg at openjdk.org
Thu Nov 3 17:40:13 UTC 2022
On Tue, 1 Nov 2022 14:16:57 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
>> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/InheritDocTaglet.java line 115:
>>
>>> 113: + utils.flatSignature(method, writer.getCurrentPageElement());
>>> 114: messages.warning(method, "doclet.noInheritedDoc", signature);
>>> 115: }
>>
>> Lines 99-115: would it help to refactor this to use an `instanceof` pattern?
>
> Please suggest how you'd do it. When I last tried it, that adjacent null check was in the way.
Agreed that the refactoring is not easy or an improvement
-------------
PR: https://git.openjdk.org/jdk/pull/10746
More information about the javadoc-dev
mailing list