8308016: Use snippets in java.io package

Reviewed-by: rriggs
This commit is contained in:
Brian Burkhalter 2023-05-23 16:00:40 +00:00
parent e9320f31dc
commit 710453c676
20 changed files with 152 additions and 132 deletions

View file

@ -201,7 +201,10 @@ public abstract class InputStream implements Closeable {
*
* @implSpec
* The {@code read(b)} method for class {@code InputStream}
* has the same effect as: <pre>{@code read(b, 0, b.length) }</pre>
* has the same effect as:
* {@snippet lang=java :
* read(b, 0, b.length)
* }
*
* @param b the buffer into which the data is read.
* @return the total number of bytes read into the buffer, or