Integrated: 8320781: Fix whitespace in j.l.Double and j.u.z.ZipInputStream @snippets
Eirik Bjorsnos
duke at openjdk.org
Tue Nov 28 10:23:28 UTC 2023
On Mon, 27 Nov 2023 16:17:14 GMT, Eirik Bjorsnos <duke at 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 <eirbjo at gmail.com>
Committer: Jaikiran Pai <jpai at 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
More information about the core-libs-dev
mailing list