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 04103a26c376f984234b655d7dbf9d45b9333683 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri May 12 18:20:44 2023 -0400 Javadoc Serialization is deprecated and will be removed in 3.0 --- src/changes/changes.xml | 3 +++ .../java/org/apache/commons/io/monitor/SerializableFileTime.java | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e2b35fb4..8e8600e3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -224,6 +224,9 @@ The <action> type attribute can be add,update,fix,remove. <action dev="ggregory" type="fix" due-to="Marcono1234"> Fix overflow for FileUtilsTest constants #456. </action> + <action dev="ggregory" type="fix" due-to="Gary Gregory"> + Serialization is deprecated and will be removed in 3.0. + </action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory"> Add GitHub coverage.yml. diff --git a/src/main/java/org/apache/commons/io/monitor/SerializableFileTime.java b/src/main/java/org/apache/commons/io/monitor/SerializableFileTime.java index ee0dd52a..9fa58170 100644 --- a/src/main/java/org/apache/commons/io/monitor/SerializableFileTime.java +++ b/src/main/java/org/apache/commons/io/monitor/SerializableFileTime.java @@ -28,7 +28,12 @@ import java.util.concurrent.TimeUnit; import org.apache.commons.io.file.attribute.FileTimes; /** - * Wraps a {@link FileTime} and allows it to be serializable. + * Wraps a {@link FileTime} and allows it to be Serializable. + * + * <h2>Deprecating Serialization</h2> + * <p> + * <em>Serialization is deprecated and will be removed in 3.0.</em> + * </p> */ class SerializableFileTime implements Serializable {