Browse Source

Exclude FindBugs warning about uninitialized read

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

Change-Id: Ieb31b5059d7b9a6adff2251baf179bda5f82e7a5
stable-0.10
Robin Stocker 14 years ago
parent
commit
b70d8853f8
  1. 7
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

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

Loading…
Cancel
Save