summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRobin Stocker2010-10-29 09:25:19 (EDT)
committer Robin Stocker2010-10-31 19:01:47 (EDT)
commitb70d8853f891302a35ab41ff6ad83b069b644730 (patch)
tree9993597db61b931a741e568acb32843d054df6e8
parent33ae28b4822653d89ac22633d3227895d4a32c1d (diff)
downloadjgit-b70d8853f891302a35ab41ff6ad83b069b644730.zip
jgit-b70d8853f891302a35ab41ff6ad83b069b644730.tar.gz
jgit-b70d8853f891302a35ab41ff6ad83b069b644730.tar.bz2
Exclude FindBugs warning about uninitialized readrefs/changes/23/1823/2
This gets rid of the "Uninitialized read of blockIndex" warning. Change-Id: Ieb31b5059d7b9a6adff2251baf179bda5f82e7a5
-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 4027ce7..948308e 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>