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/07/04 18:26:40 UTC
[commons-compress] branch master updated: Fix broken XML.
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-compress.git
The following commit(s) were added to refs/heads/master by this push:
new e622f71e Fix broken XML.
e622f71e is described below
commit e622f71efe917af521a3c0311497aa3f43f4ce36
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 4 14:26:35 2022 -0400
Fix broken XML.
Add missing namespace and XSD to SpotBugs filter file.
---
findbugs-exclude-filter.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/findbugs-exclude-filter.xml b/findbugs-exclude-filter.xml
index d63fe152..3df8a994 100644
--- a/findbugs-exclude-filter.xml
+++ b/findbugs-exclude-filter.xml
@@ -21,7 +21,10 @@
false positive nature has been analyzed individually and they have been
put here to instruct findbugs it must ignore them.
-->
-<FindBugsFilter>
+<FindBugsFilter
+ xmlns="https://github.com/spotbugs/filter/3.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<!-- Reason: References to System.out/err == -->
<Match>
@@ -71,9 +74,7 @@
</Match>
<Match>
<Class name="org.apache.commons.compress.archivers.sevenz.Folder" />
- <Or>
- <Field name="totalInputStreams"/>
- </Or>
+ <Field name="totalInputStreams"/>
<Bug pattern="URF_UNREAD_FIELD" />
</Match>