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-net.git
commit 451761d8579c34a9f703330a0555869f263f1429 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Wed Feb 12 11:16:20 2025 -0500 Deprecate FTPFileFilters.FTPFileFilters() --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 734835ff..cc147310 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -82,6 +82,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" dev="ggregory" due-to="Gary Gregory">Add missing Javadoc to SubnetUtils.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate PrintCommandListeners.PrintCommandListeners().</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate NtpUtils.NtpUtils().</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate FTPFileFilters.FTPFileFilters().</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory">org.apache.commons.net.nntp.Article#getChild().</action> <action type="add" dev="ggregory" due-to="Gary Gregory">org.apache.commons.net.nntp.Article#getNext().</action> diff --git a/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java b/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java index e0170c4c..1838f16b 100644 --- a/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java +++ b/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java @@ -41,4 +41,13 @@ public class FTPFileFilters { */ public static final FTPFileFilter DIRECTORIES = file -> file != null && file.isDirectory(); + /** + * Constructs a new instance. + * + * @deprecated Will be private in the next major release. + */ + @Deprecated + public FTPFileFilters() { + // empty + } }