This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit 957a44372d4cf325311a1718db601ea4a4a3884d
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Sep 6 14:42:42 2021 -0400

    "@exception" -> "@throws"
---
 .../java/org/apache/commons/io/input/UncheckedBufferedReader.java | 2 +-
 .../java/org/apache/commons/io/output/FilterCollectionWriter.java | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/io/input/UncheckedBufferedReader.java 
b/src/main/java/org/apache/commons/io/input/UncheckedBufferedReader.java
index 4966852..f6c6a9c 100644
--- a/src/main/java/org/apache/commons/io/input/UncheckedBufferedReader.java
+++ b/src/main/java/org/apache/commons/io/input/UncheckedBufferedReader.java
@@ -59,7 +59,7 @@ public class UncheckedBufferedReader extends BufferedReader {
      * @param reader     A Reader
      * @param bufferSize Input-buffer size
      *
-     * @exception IllegalArgumentException If {@code bufferSize <= 0}
+     * @throws IllegalArgumentException If {@code bufferSize <= 0}
      */
     public UncheckedBufferedReader(final Reader reader, final int bufferSize) {
         super(reader, bufferSize);
diff --git 
a/src/main/java/org/apache/commons/io/output/FilterCollectionWriter.java 
b/src/main/java/org/apache/commons/io/output/FilterCollectionWriter.java
index 6f45a45..82f01f7 100644
--- a/src/main/java/org/apache/commons/io/output/FilterCollectionWriter.java
+++ b/src/main/java/org/apache/commons/io/output/FilterCollectionWriter.java
@@ -173,7 +173,7 @@ public class FilterCollectionWriter extends Writer {
     /**
      * Flushes the stream.
      *
-     * @exception IOException If an I/O error occurs
+     * @throws IOException If an I/O error occurs
      */
     @Override
     public void flush() throws IOException {
@@ -231,7 +231,7 @@ public class FilterCollectionWriter extends Writer {
      * @param off  Offset from which to start reading characters
      * @param len  Number of characters to be written
      *
-     * @exception IOException If an I/O error occurs
+     * @throws IOException If an I/O error occurs
      */
     @Override
     public void write(final char[] cbuf, final int off, final int len) throws 
IOException {
@@ -255,7 +255,7 @@ public class FilterCollectionWriter extends Writer {
     /**
      * Writes a single character.
      *
-     * @exception IOException If an I/O error occurs
+     * @throws IOException If an I/O error occurs
      */
     @Override
     public void write(final int c) throws IOException {
@@ -303,7 +303,7 @@ public class FilterCollectionWriter extends Writer {
      * @param off Offset from which to start reading characters
      * @param len Number of characters to be written
      *
-     * @exception IOException If an I/O error occurs
+     * @throws IOException If an I/O error occurs
      */
     @Override
     public void write(final String str, final int off, final int len) throws 
IOException {

Reply via email to