瀏覽代碼

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 年之前
父節點
當前提交
b70d8853f8
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

+ 7
- 0
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…
取消
儲存