You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/09/06 18:42:56 UTC

[commons-io] branch master updated (d28e5d5 -> 27ed17b)

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

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


    from d28e5d5  [IO-748] FileUtils.moveToDirectory() exception documentation and exception message error.
     new 957a443  "@exception" -> "@throws"
     new 27ed17b  Javadoc: Close HTML tags.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/java/org/apache/commons/io/input/TailerListener.java     | 4 ++++
 .../java/org/apache/commons/io/input/UncheckedBufferedReader.java | 2 +-
 .../java/org/apache/commons/io/output/FilterCollectionWriter.java | 8 ++++----
 3 files changed, 9 insertions(+), 5 deletions(-)

[commons-io] 01/02: "@exception" -> "@throws"

Posted by gg...@apache.org.
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 <ga...@gmail.com>
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 {

[commons-io] 02/02: Javadoc: Close HTML tags.

Posted by gg...@apache.org.
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 27ed17bf75e658d1b4b96be04345cf9892566425
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Sep 6 14:42:53 2021 -0400

    Javadoc: Close HTML tags.
---
 src/main/java/org/apache/commons/io/input/TailerListener.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/commons/io/input/TailerListener.java b/src/main/java/org/apache/commons/io/input/TailerListener.java
index dc26c14..015c109 100644
--- a/src/main/java/org/apache/commons/io/input/TailerListener.java
+++ b/src/main/java/org/apache/commons/io/input/TailerListener.java
@@ -34,6 +34,7 @@ public interface TailerListener {
      * This method is called if the tailed file is not found.
      * <p>
      * <b>Note:</b> this is called from the tailer thread.
+     * </p>
      */
     void fileNotFound();
 
@@ -44,6 +45,7 @@ public interface TailerListener {
      * be called if the new file has not yet been created.
      * <p>
      * <b>Note:</b> this is called from the tailer thread.
+     * </p>
      */
     void fileRotated();
 
@@ -52,6 +54,7 @@ public interface TailerListener {
      * <p>
      * <b>Note:</b> this is called from the tailer thread.
      * @param line the line.
+     * </p>
      */
     void handle(String line);
 
@@ -60,6 +63,7 @@ public interface TailerListener {
      * <p>
      * <b>Note:</b> this is called from the tailer thread.
      * @param ex the exception.
+     * </p>
      */
     void handle(Exception ex);