mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -82,11 +82,13 @@ public class PipedOutputStream extends OutputStream {
|
|||
* If {@code snk} is an unconnected piped input stream and
|
||||
* {@code src} is an unconnected piped output stream, they may
|
||||
* be connected by either the call:
|
||||
* <blockquote><pre>
|
||||
* src.connect(snk)</pre></blockquote>
|
||||
* {@snippet lang=java :
|
||||
* src.connect(snk)
|
||||
* }
|
||||
* or the call:
|
||||
* <blockquote><pre>
|
||||
* snk.connect(src)</pre></blockquote>
|
||||
* {@snippet lang=java :
|
||||
* snk.connect(src)
|
||||
* }
|
||||
* The two calls have the same effect.
|
||||
*
|
||||
* @param snk the piped input stream to connect to.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue