mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
This commit is contained in:
parent
2fc6c6459d
commit
b15b322cf3
196 changed files with 1959 additions and 1962 deletions
|
@ -107,7 +107,7 @@ public abstract class OutputStream implements Closeable, Flushable {
|
|||
* implementation for this method.
|
||||
*
|
||||
* @param b the <code>byte</code>.
|
||||
* @exception IOException if an I/O error occurs. In particular,
|
||||
* @throws IOException if an I/O error occurs. In particular,
|
||||
* an <code>IOException</code> may be thrown if the
|
||||
* output stream has been closed.
|
||||
*/
|
||||
|
@ -120,7 +120,7 @@ public abstract class OutputStream implements Closeable, Flushable {
|
|||
* <code>write(b, 0, b.length)</code>.
|
||||
*
|
||||
* @param b the data.
|
||||
* @exception IOException if an I/O error occurs.
|
||||
* @throws IOException if an I/O error occurs.
|
||||
* @see java.io.OutputStream#write(byte[], int, int)
|
||||
*/
|
||||
public void write(byte b[]) throws IOException {
|
||||
|
@ -151,7 +151,7 @@ public abstract class OutputStream implements Closeable, Flushable {
|
|||
* @param b the data.
|
||||
* @param off the start offset in the data.
|
||||
* @param len the number of bytes to write.
|
||||
* @exception IOException if an I/O error occurs. In particular,
|
||||
* @throws IOException if an I/O error occurs. In particular,
|
||||
* an <code>IOException</code> is thrown if the output
|
||||
* stream is closed.
|
||||
*/
|
||||
|
@ -179,7 +179,7 @@ public abstract class OutputStream implements Closeable, Flushable {
|
|||
* <p>
|
||||
* The <code>flush</code> method of <code>OutputStream</code> does nothing.
|
||||
*
|
||||
* @exception IOException if an I/O error occurs.
|
||||
* @throws IOException if an I/O error occurs.
|
||||
*/
|
||||
public void flush() throws IOException {
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ public abstract class OutputStream implements Closeable, Flushable {
|
|||
* <p>
|
||||
* The <code>close</code> method of <code>OutputStream</code> does nothing.
|
||||
*
|
||||
* @exception IOException if an I/O error occurs.
|
||||
* @throws IOException if an I/O error occurs.
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue