RFR: JDK-8257925 enable more support for nested inline tags [v2]
Jonathan Gibbons
jjg at openjdk.java.net
Thu Feb 18 18:58:44 UTC 2021
On Fri, 12 Feb 2021 14:25:23 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
>> Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:
>>
>> improve handling of nested links
>
> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java line 165:
>
>> 163: */
>> 164: public TagletWriterImpl(HtmlDocletWriter htmlWriter, boolean isFirstSentence, boolean inSummary) {
>> 165: super(isFirstSentence);
>
> To avoid almost identical constructors this one could be implemented as
>
> this(htmlWriter, new Context(isFirstSentence, inSummary));
Good catch
-------------
PR: https://git.openjdk.java.net/jdk/pull/2369
More information about the compiler-dev
mailing list