소스 검색

[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…
취소
저장