Skip to content
Permalink
Browse files
Fix broken XML.
Add missing namespace and XSD to SpotBugs filter file.
  • Loading branch information
Gary Gregory committed Jul 4, 2022
1 parent 25c8ba9 commit 310003fa0d6bc3287ded9a0c8aeb16ac55a2dd64
Showing 1 changed file with 6 additions and 2 deletions.
@@ -21,7 +21,11 @@
false positive nature has been analyzed individually and they have been
put here to instruct Find Bugs to 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">

<Match>
<!-- Class implements the generics based interface and does so correctly -->
<Class name="org.apache.commons.pool2.PooledObject" />
@@ -133,7 +137,7 @@
<Match>
<!-- Direct use of GC is deliberate and necessary -->
<Class name="org.apache.commons.pool2.impl.TestSoftRefOutOfMemory" />
<Mehtod name="tearDown" />
<Method name="tearDown" />
<Bug pattern="DM_GC" />
</Match>
<Match>

0 comments on commit 310003f

Please sign in to comment.