mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8308016: Use snippets in java.io package
Reviewed-by: rriggs
This commit is contained in:
parent
e9320f31dc
commit
710453c676
20 changed files with 152 additions and 132 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue