Skip to content

Commit 04103a2

Browse files
committed
Javadoc
Serialization is deprecated and will be removed in 3.0
1 parent c908984 commit 04103a2

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

src/changes/changes.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ The <action> type attribute can be add,update,fix,remove.
224224
<action dev="ggregory" type="fix" due-to="Marcono1234">
225225
Fix overflow for FileUtilsTest constants #456.
226226
</action>
227+
<action dev="ggregory" type="fix" due-to="Gary Gregory">
228+
Serialization is deprecated and will be removed in 3.0.
229+
</action>
227230
<!-- ADD -->
228231
<action type="add" dev="ggregory" due-to="Gary Gregory">
229232
Add GitHub coverage.yml.

src/main/java/org/apache/commons/io/monitor/SerializableFileTime.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
import org.apache.commons.io.file.attribute.FileTimes;
2929

3030
/**
31-
* Wraps a {@link FileTime} and allows it to be serializable.
31+
* Wraps a {@link FileTime} and allows it to be Serializable.
32+
*
33+
* <h2>Deprecating Serialization</h2>
34+
* <p>
35+
* <em>Serialization is deprecated and will be removed in 3.0.</em>
36+
* </p>
3237
*/
3338
class SerializableFileTime implements Serializable {
3439

0 commit comments

Comments
 (0)