diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2020-11-29 21:46:09 +0100 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2020-12-17 17:18:11 +0100 |
commit | a56624349e5994989ae60623a0537e14b5d68141 (patch) | |
tree | 21322457b6f1ebd845a75b6bacefa0b1aa30167e /org.eclipse.jgit/findBugs | |
parent | f29668f7a089443a0b35adb98b432e24e86d48b1 (diff) | |
download | jgit-a56624349e5994989ae60623a0537e14b5d68141.tar.gz jgit-a56624349e5994989ae60623a0537e14b5d68141.zip |
[spotbugs] silence short-circuit warning in PackOutputStream#write
Change-Id: I47b7a7991afae0dd1e678bd5e1f8e81599791e5f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/findBugs')
-rw-r--r-- | org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml index 2efbb9c1a5..a04b0a7299 100644 --- a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml +++ b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml @@ -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" /> |