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


The following commit(s) were added to refs/heads/master by this push:
     new 3ac3e28d The API doc for 3.16 doesn't need to reference 1.x behavior 
(#539)
3ac3e28d is described below

commit 3ac3e28d1957d382b6e0bcf25fed7e1d72a3899c
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Wed Dec 27 16:14:06 2023 +0000

    The API doc for 3.16 doesn't need to reference 1.x behavior (#539)
---
 src/main/java/org/apache/commons/io/FileUtils.java                 | 5 ++---
 src/main/java/org/apache/commons/io/input/CountingInputStream.java | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/FileUtils.java 
b/src/main/java/org/apache/commons/io/FileUtils.java
index b983bb8b..5fe5e5a6 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -2946,10 +2946,9 @@ public class FileUtils {
     /**
      * Converts from a {@link URL} to a {@link File}.
      * <p>
-     * From version 1.1 this method will decode the URL.
      * Syntax such as {@code file:///my%20docs/file.txt} will be
-     * correctly decoded to {@code /my docs/file.txt}. Starting with version
-     * 1.5, this method uses UTF-8 to decode percent-encoded octets to 
characters.
+     * correctly decoded to {@code /my docs/file.txt}.
+     * UTF-8 is used to decode percent-encoded octets to characters.
      * Additionally, malformed percent-encoded octets are handled leniently by
      * passing them through literally.
      * </p>
diff --git a/src/main/java/org/apache/commons/io/input/CountingInputStream.java 
b/src/main/java/org/apache/commons/io/input/CountingInputStream.java
index d0629fd3..233af2a1 100644
--- a/src/main/java/org/apache/commons/io/input/CountingInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/CountingInputStream.java
@@ -74,7 +74,7 @@ public class CountingInputStream extends ProxyInputStream {
     /**
      * Gets number of bytes that have passed through this stream.
      * <p>
-     * NOTE: From v1.3 this method throws an ArithmeticException if the
+     * This method throws an ArithmeticException if the
      * count is greater than can be expressed by an {@code int}.
      * See {@link #getByteCount()} for a method using a {@code long}.
      * </p>
@@ -112,7 +112,7 @@ public class CountingInputStream extends ProxyInputStream {
     /**
      * Resets the byte count back to 0.
      * <p>
-     * NOTE: From v1.3 this method throws an ArithmeticException if the
+     * This method throws an ArithmeticException if the
      * count is greater than can be expressed by an {@code int}.
      * See {@link #resetByteCount()} for a method using a {@code long}.
      * </p>

Reply via email to