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 2022/06/28 14:16:13 UTC
[commons-io] branch master updated: Suppress SpotBugs error for deprecated field org.apache.commons.io.file.PathUtils#NOFOLLOW_LINK_OPTION_ARRAY
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 38ca4e12 Suppress SpotBugs error for deprecated field org.apache.commons.io.file.PathUtils#NOFOLLOW_LINK_OPTION_ARRAY
38ca4e12 is described below
commit 38ca4e12fbebd34901303a69ecb7cad868550555
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jun 28 10:16:08 2022 -0400
Suppress SpotBugs error for deprecated field
org.apache.commons.io.file.PathUtils#NOFOLLOW_LINK_OPTION_ARRAY
---
src/conf/spotbugs-exclude-filter.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/conf/spotbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml
index b1a7df54..96fb6013 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -37,4 +37,12 @@
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
+ <!-- Deprecated -->
+ <Match>
+ <Class name="org.apache.commons.io.file.PathUtils" />
+ <Field name="NOFOLLOW_LINK_OPTION_ARRAY" />
+ <Bug pattern="MS_PKGPROTECT" />
+ </Match>
+
+
</FindBugsFilter>