Integrated: 8300792: Refactor examples in java.net.http to use @snippet

Darragh Clarke duke at openjdk.org
Mon Feb 27 09:22:05 UTC 2023


On Tue, 21 Feb 2023 15:53:37 GMT, Darragh Clarke <duke at openjdk.org> wrote:

> Refactored instances of `@code` to instead use `@snippet`.
> 
> I also spent some time looking into using external snippets to reference the existing files `JavadocExamples` and `WebSocketExample` though ultimately thought it was better to keep the docs pretty much as they had been with only a few small changes to formatting.

This pull request has now been integrated.

Changeset: 306134dc
Author:    Darragh Clarke <Darragh.clarke at oracle.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/306134dcf9db6c44adf919fac29f5b227534bdee
Stats:     118 lines in 4 files changed: 42 ins; 5 del; 71 mod

8300792: Refactor examples in java.net.http to use @snippet

Reviewed-by: dfuchs, jpai

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

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


More information about the net-dev mailing list