Browse Source

Exclude FindBugs warning about uninitialized read

This gets rid of the "Uninitialized read of blockIndex" warning.

Change-Id: Ieb31b5059d7b9a6adff2251baf179bda5f82e7a5
tags/v0.10.1
Robin Stocker 13 years ago
parent
commit
b70d8853f8
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

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

@@ -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>

Loading…
Cancel
Save