RFR: 8300792: Refactor examples in java.net.http to use @snippet [v2]

Daniel Fuchs dfuchs at openjdk.org
Thu Feb 23 14:53:12 UTC 2023


On Wed, 22 Feb 2023 18:23:50 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Darragh Clarke has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   cleaned up formatting, fixed snippets breaking when code sample starts on same line
>
> src/java.net.http/share/classes/java/net/http/HttpResponse.java line 917:
> 
>> 915:      *
>> 916:      * {@snippet :
>> 917:      *   // Streams the response body to a File
> 
> And here as well.

Did you miss this one @DarraghClarke ?

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

PR: https://git.openjdk.org/jdk/pull/12692


More information about the net-dev mailing list