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
|
@ -146,11 +146,15 @@ public class PipedReader extends Reader {
|
|||
* is an unconnected piped reader, they
|
||||
* may be connected by either the call:
|
||||
*
|
||||
* <pre>{@code snk.connect(src)} </pre>
|
||||
* {@snippet lang=java :
|
||||
* snk.connect(src)
|
||||
* }
|
||||
* <p>
|
||||
* or the call:
|
||||
*
|
||||
* <pre>{@code src.connect(snk)} </pre>
|
||||
* {@snippet lang=java :
|
||||
* src.connect(snk)
|
||||
* }
|
||||
* <p>
|
||||
* The two calls have the same effect.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue