Browse Source

[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 years ago
parent
commit
1e510ec20e
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

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

@@ -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…
Cancel
Save