Skip to content
Permalink
Browse files
Fix broken XML.
Add missing namespace and XSD to SpotBugs filter file.
  • Loading branch information
garydgregory committed Jul 4, 2022
1 parent a04a6d3 commit e622f71efe917af521a3c0311497aa3f43f4ce36
Showing 1 changed file with 5 additions and 4 deletions.
@@ -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>

0 comments on commit e622f71

Please sign in to comment.