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/01/11 07:29:00 UTC
[commons-io] branch master updated: [IO-688] CopyUtils deprecation
message gives wrong version.
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 1d4d187 [IO-688] CopyUtils deprecation message gives wrong version.
1d4d187 is described below
commit 1d4d1873430c3737991841f43ea065b66199b732
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 11 02:28:55 2021 -0500
[IO-688] CopyUtils deprecation message gives wrong version.
---
src/changes/changes.xml | 3 +++
src/main/java/org/apache/commons/io/CopyUtils.java | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 24802d0..9e3310d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -87,6 +87,9 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="IO-699" dev="ggregory" type="fix" due-to="tza, Gary Gregory">
Wrong logging in FileUtils.setLastModified.
</action>
+ <action issue="IO-688" dev="ggregory" type="fix" due-to="Michael Ernst, Gary Gregory">
+ CopyUtils deprecation message gives wrong version.
+ </action>
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add FileSystemProviders class.
diff --git a/src/main/java/org/apache/commons/io/CopyUtils.java b/src/main/java/org/apache/commons/io/CopyUtils.java
index 3971e42..c8ef486 100644
--- a/src/main/java/org/apache/commons/io/CopyUtils.java
+++ b/src/main/java/org/apache/commons/io/CopyUtils.java
@@ -103,7 +103,7 @@ import java.nio.charset.Charset;
* <p>
* Origin of code: Excalibur.
*
- * @deprecated Use IOUtils. Will be removed in 2.0.
+ * @deprecated Use IOUtils. Will be removed in 3.0.
* Methods renamed to IOUtils.write() or IOUtils.copy().
* Null handling behavior changed in IOUtils (null data does not
* throw NullPointerException).