On Tue, 21 Feb 2023 15:53:37 GMT, Darragh Clarke <[email protected]> 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.
Other places in the JDK are using:
{@snippet lang=java :
Since all our snippets are java code we may want to do that too.
-------------
Changes requested by dfuchs (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12692