Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2010-10-29 13:25:19 +0000
committerRobin Stocker2010-10-31 23:01:47 +0000
commitb70d8853f891302a35ab41ff6ad83b069b644730 (patch)
tree9993597db61b931a741e568acb32843d054df6e8 /org.eclipse.jgit/findBugs
parent33ae28b4822653d89ac22633d3227895d4a32c1d (diff)
downloadjgit-b70d8853f891302a35ab41ff6ad83b069b644730.tar.gz
jgit-b70d8853f891302a35ab41ff6ad83b069b644730.tar.xz
jgit-b70d8853f891302a35ab41ff6ad83b069b644730.zip
Exclude FindBugs warning about uninitialized read
This gets rid of the "Uninitialized read of blockIndex" warning. Change-Id: Ieb31b5059d7b9a6adff2251baf179bda5f82e7a5
Diffstat (limited to 'org.eclipse.jgit/findBugs')
-rw-r--r--org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
index 4027ce7974..948308e778 100644
--- a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
+++ b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
@@ -31,4 +31,11 @@
<Match>
<Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
</Match>
+
+ <!-- blockIndex is initialized to 0 automatically.
+ -->
+ <Match>
+ <Class name="org.eclipse.jgit.util.TemporaryBuffer$BlockInputStream" />
+ <Bug pattern="UR_UNINIT_READ" />
+ </Match>
</FindBugsFilter>

Back to the top