On Fri, 12 Feb 2021 14:25:23 GMT, Hannes Wallnöfer <hann...@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

Reply via email to