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 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.storage.file.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.util.StringUtils" />
  23. <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
  24. </Match>
  25. <!-- We want complete control over clone behavior and
  26. don't want to use Object's clone implementation.
  27. -->
  28. <Match>
  29. <Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
  30. </Match>
  31. <!-- blockIndex is initialized to 0 automatically.
  32. -->
  33. <Match>
  34. <Class name="org.eclipse.jgit.util.TemporaryBuffer$BlockInputStream" />
  35. <Bug pattern="UR_UNINIT_READ" />
  36. </Match>
  37. </FindBugsFilter>