You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FindBugsExcludeFilter.xml 939B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <FindBugsFilter>
  3. <!-- Silence PackFile.mmap calls GC, we need to force it to remove stale
  4. memory mapped segments if the JVM heap is out of address space.
  5. -->
  6. <Match>
  7. <Class name="org.eclipse.jgit.lib.PackFile" />
  8. <Method name="mmap" />
  9. <Bug pattern="DM_GC" />
  10. </Match>
  11. <!-- Silence the construction of our magic String instance.
  12. -->
  13. <Match>
  14. <Class name="org.eclipse.jgit.lib.Config" />
  15. <Bug pattern="DM_STRING_VOID_CTOR"/>
  16. </Match>
  17. <!-- Silence comparison of string by == or !=. This class is built
  18. only to provide compare of string values, we won't make a mistake
  19. here with == assuming .equals() style equality.
  20. -->
  21. <Match>
  22. <Class name="org.eclipse.jgit.lib.util.StringUtils" />
  23. <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
  24. </Match>
  25. </FindBugsFilter>