diff options
author | Robin Stocker <robin@nibor.org> | 2010-10-29 15:25:19 +0200 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2010-11-01 00:01:47 +0100 |
commit | b70d8853f891302a35ab41ff6ad83b069b644730 (patch) | |
tree | 9993597db61b931a741e568acb32843d054df6e8 | |
parent | 33ae28b4822653d89ac22633d3227895d4a32c1d (diff) | |
download | jgit-b70d8853f891302a35ab41ff6ad83b069b644730.tar.gz jgit-b70d8853f891302a35ab41ff6ad83b069b644730.zip |
Exclude FindBugs warning about uninitialized read
This gets rid of the "Uninitialized read of blockIndex" warning.
Change-Id: Ieb31b5059d7b9a6adff2251baf179bda5f82e7a5
-rw-r--r-- | org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml | 7 |
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> |