Browse Source

[spotbugs] silence short-circuit warning in PackOutputStream#write

Change-Id: I47b7a7991afae0dd1e678bd5e1f8e81599791e5f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v5.11.0.202102031030-m2
Matthias Sohn 3 years ago
parent
commit
a56624349e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

+ 6
- 0
org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml View File

@@ -9,6 +9,12 @@
<Bug pattern="DM_GC" />
</Match>

<Match>
<Class name="org.eclipse.jgit.internal.storage.pack.PackOutputStream" />
<Method name="writeHeader" />
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
</Match>

<!-- Silence ignoring return value of mkdirs -->
<Match>
<Class name="org.eclipse.jgit.dircache.DirCacheCheckout" />

Loading…
Cancel
Save