28 lines
939 B
XML
28 lines
939 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<FindBugsFilter>
|
|
<!-- Silence PackFile.mmap calls GC, we need to force it to remove stale
|
|
memory mapped segments if the JVM heap is out of address space.
|
|
-->
|
|
<Match>
|
|
<Class name="org.eclipse.jgit.lib.PackFile" />
|
|
<Method name="mmap" />
|
|
<Bug pattern="DM_GC" />
|
|
</Match>
|
|
|
|
<!-- Silence the construction of our magic String instance.
|
|
-->
|
|
<Match>
|
|
<Class name="org.eclipse.jgit.lib.Config" />
|
|
<Bug pattern="DM_STRING_VOID_CTOR"/>
|
|
</Match>
|
|
|
|
<!-- Silence comparison of string by == or !=. This class is built
|
|
only to provide compare of string values, we won't make a mistake
|
|
here with == assuming .equals() style equality.
|
|
-->
|
|
<Match>
|
|
<Class name="org.eclipse.jgit.lib.util.StringUtils" />
|
|
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
|
|
</Match>
|
|
</FindBugsFilter>
|