mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: bchristi, lancea
This commit is contained in:
parent
13d0bac294
commit
d15a57b842
139 changed files with 3499 additions and 3499 deletions
|
@ -31,8 +31,8 @@ import java.io.*;
|
|||
* A piped output stream can be connected to a piped input stream
|
||||
* to create a communications pipe. The piped output stream is the
|
||||
* sending end of the pipe. Typically, data is written to a
|
||||
* <code>PipedOutputStream</code> object by one thread and data is
|
||||
* read from the connected <code>PipedInputStream</code> by some
|
||||
* {@code PipedOutputStream} object by one thread and data is
|
||||
* read from the connected {@code PipedInputStream} by some
|
||||
* other thread. Attempting to use both objects from a single thread
|
||||
* is not recommended as it may deadlock the thread.
|
||||
* The pipe is said to be <a id=BROKEN> <i>broken</i> </a> if a
|
||||
|
@ -55,7 +55,7 @@ class PipedOutputStream extends OutputStream {
|
|||
/**
|
||||
* Creates a piped output stream connected to the specified piped
|
||||
* input stream. Data bytes written to this stream will then be
|
||||
* available as input from <code>snk</code>.
|
||||
* available as input from {@code snk}.
|
||||
*
|
||||
* @param snk The piped input stream to connect to.
|
||||
* @throws IOException if an I/O error occurs.
|
||||
|
@ -78,10 +78,10 @@ class PipedOutputStream extends OutputStream {
|
|||
/**
|
||||
* Connects this piped output stream to a receiver. If this object
|
||||
* is already connected to some other piped input stream, an
|
||||
* <code>IOException</code> is thrown.
|
||||
* {@code IOException} is thrown.
|
||||
* <p>
|
||||
* If <code>snk</code> is an unconnected piped input stream and
|
||||
* <code>src</code> is an unconnected piped output stream, they may
|
||||
* 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>
|
||||
|
@ -106,11 +106,11 @@ class PipedOutputStream extends OutputStream {
|
|||
}
|
||||
|
||||
/**
|
||||
* Writes the specified <code>byte</code> to the piped output stream.
|
||||
* Writes the specified {@code byte} to the piped output stream.
|
||||
* <p>
|
||||
* Implements the <code>write</code> method of <code>OutputStream</code>.
|
||||
* Implements the {@code write} method of {@code OutputStream}.
|
||||
*
|
||||
* @param b the <code>byte</code> to be written.
|
||||
* @param b the {@code byte} to be written.
|
||||
* @throws IOException if the pipe is <a href=#BROKEN> broken</a>,
|
||||
* {@link #connect(java.io.PipedInputStream) unconnected},
|
||||
* closed, or if an I/O error occurs.
|
||||
|
@ -123,8 +123,8 @@ class PipedOutputStream extends OutputStream {
|
|||
}
|
||||
|
||||
/**
|
||||
* Writes <code>len</code> bytes from the specified byte array
|
||||
* starting at offset <code>off</code> to this piped output stream.
|
||||
* Writes {@code len} bytes from the specified byte array
|
||||
* starting at offset {@code off} to this piped output stream.
|
||||
* This method blocks until all the bytes are written to the output
|
||||
* stream.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue