瀏覽代碼

[findBugs] Silence DM_STRING_CTOR on PacketLineIn

We don't want to pool this String.

Change-Id: I68bb1c57fac2e138eece4503ca5bda8f69261083
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v0.10.1
Matthias Sohn 13 年之前
父節點
當前提交
1e510ec20e
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

+ 8
- 0
org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml 查看文件

@@ -38,4 +38,12 @@
<Class name="org.eclipse.jgit.util.TemporaryBuffer$BlockInputStream" />
<Bug pattern="UR_UNINIT_READ" />
</Match>

<!-- Silence invoke inefficient String constructor, we do not want to pool
here -->
<Match>
<Class name="org.eclipse.jgit.transport.PacketLineIn" />
<Method name="&lt;clinit&gt;" />
<Bug pattern="DM_STRING_CTOR" />
</Match>
</FindBugsFilter>

Loading…
取消
儲存