On Mon, 27 Nov 2023 16:17:14 GMT, Eirik Bjorsnos <d...@openjdk.org> wrote:

> Please review this trivial, formatting and documentation-only change which 
> adds missing whitespace around a few `if` statements, `while` statements and 
> assigments in `@snippet` code in `j.l.Double` and `j.u.z.ZipInputStream`.
> 
> While there are many similar issues in the OpenJDK code base, these were the 
> only instances found in `@snippet` code in the API of `java.base`, so it 
> could be worthwhile fixing. 
> 
> While updating the snippet in `ZipInputStream`, I took the liberty to also 
> add `lang = "java"` since this seems more commonly included around the code 
> base.

This pull request has now been integrated.

Changeset: 99f870c4
Author:    Eirik Bjorsnos <eir...@gmail.com>
Committer: Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/99f870c43fea4e31a63240733ab9a471469f282b
Stats:     5 lines in 2 files changed: 0 ins; 0 del; 5 mod

8320781: Fix whitespace in j.l.Double and j.u.z.ZipInputStream @snippets

Reviewed-by: lancea, bpb, darcy, jpai

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

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

Reply via email to