Skip to content

Commit 3ac3e28

Browse files
authored
The API doc for 3.16 doesn't need to reference 1.x behavior (#539)
1 parent 9293f5f commit 3ac3e28

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,10 +2946,9 @@ public static Stream<File> streamFiles(final File directory, final boolean recur
29462946
/**
29472947
* Converts from a {@link URL} to a {@link File}.
29482948
* <p>
2949-
* From version 1.1 this method will decode the URL.
29502949
* Syntax such as {@code file:///my%20docs/file.txt} will be
2951-
* correctly decoded to {@code /my docs/file.txt}. Starting with version
2952-
* 1.5, this method uses UTF-8 to decode percent-encoded octets to characters.
2950+
* correctly decoded to {@code /my docs/file.txt}.
2951+
* UTF-8 is used to decode percent-encoded octets to characters.
29532952
* Additionally, malformed percent-encoded octets are handled leniently by
29542953
* passing them through literally.
29552954
* </p>

src/main/java/org/apache/commons/io/input/CountingInputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public synchronized long getByteCount() {
7474
/**
7575
* Gets number of bytes that have passed through this stream.
7676
* <p>
77-
* NOTE: From v1.3 this method throws an ArithmeticException if the
77+
* This method throws an ArithmeticException if the
7878
* count is greater than can be expressed by an {@code int}.
7979
* See {@link #getByteCount()} for a method using a {@code long}.
8080
* </p>
@@ -112,7 +112,7 @@ public synchronized long resetByteCount() {
112112
/**
113113
* Resets the byte count back to 0.
114114
* <p>
115-
* NOTE: From v1.3 this method throws an ArithmeticException if the
115+
* This method throws an ArithmeticException if the
116116
* count is greater than can be expressed by an {@code int}.
117117
* See {@link #resetByteCount()} for a method using a {@code long}.
118118
* </p>

0 commit comments

Comments
 (0)