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

Darragh Clarke duke at openjdk.org
Thu Feb 23 14:25:14 UTC 2023


> 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.

Darragh Clarke has updated the pull request incrementally with one additional commit since the last revision:

  split examples into their own snippets

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12692/files
  - new: https://git.openjdk.org/jdk/pull/12692/files/ae8e2d44..19944c7c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12692&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12692&range=01-02

  Stats: 10 lines in 2 files changed: 5 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/12692.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12692/head:pull/12692

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


More information about the net-dev mailing list