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

Reviewed-by: lancea, bpb, darcy, jpai
This commit is contained in:
Eirik Bjorsnos 2023-11-28 10:20:11 +00:00 committed by Jaikiran Pai
parent a5ccd3beaf
commit 99f870c43f
2 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ import static java.util.zip.ZipUtils.*;
* {@code ZipInputStream} read methods such * {@code ZipInputStream} read methods such
* as {@link #read(byte[], int, int) read} or {@link #readAllBytes() readAllBytes()}. * as {@link #read(byte[], int, int) read} or {@link #readAllBytes() readAllBytes()}.
* For example: * For example:
* {@snippet : * {@snippet lang="java" :
* Path jar = Path.of("foo.jar"); * Path jar = Path.of("foo.jar");
* try (InputStream is = Files.newInputStream(jar); * try (InputStream is = Files.newInputStream(jar);
* ZipInputStream zis = new ZipInputStream(is)) { * ZipInputStream zis = new ZipInputStream(is)) {