mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
This commit is contained in:
parent
ac98b22040
commit
f180530935
35 changed files with 88 additions and 88 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -493,7 +493,7 @@ public interface DataInput {
|
|||
* is encountered, it is discarded and reading
|
||||
* ceases. If the character {@code '\r'}
|
||||
* is encountered, it is discarded and, if
|
||||
* the following byte converts  to the
|
||||
* the following byte converts to the
|
||||
* character {@code '\n'}, then that is
|
||||
* discarded also; reading then ceases. If
|
||||
* end of file is encountered before either
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -738,7 +738,7 @@ public class ObjectInputStream
|
|||
* restored a final set of validations can be performed.
|
||||
*
|
||||
* @param obj the object to receive the validation callback.
|
||||
* @param prio controls the order of callbacks;zero is a good default.
|
||||
* @param prio controls the order of callbacks; zero is a good default.
|
||||
* Use higher numbers to be called back earlier, lower numbers for
|
||||
* later callbacks. Within a priority, callbacks are processed in
|
||||
* no particular order.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -222,7 +222,7 @@ public class PipedInputStream extends InputStream {
|
|||
* @param len the maximum number of bytes received
|
||||
* @throws IOException If the pipe is <a href="#BROKEN"> broken</a>,
|
||||
* {@link #connect(java.io.PipedOutputStream) unconnected},
|
||||
* closed,or if an I/O error occurs.
|
||||
* closed, or if an I/O error occurs.
|
||||
*/
|
||||
synchronized void receive(byte[] b, int off, int len) throws IOException {
|
||||
checkStateForReceive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue