summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/findBugs
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2010-11-07 21:22:23 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2010-11-07 21:22:23 +0100
commit1e510ec20e0391010419b17e9a9095ad54941d3c (patch)
treed441ccc26e5932b70a7befde5fe3de79e2b94ea5 /org.eclipse.jgit/findBugs
parent0e815fe8c5bd7fb4de9d82b9d25d8ad9a9ec32c4 (diff)
downloadjgit-1e510ec20e0391010419b17e9a9095ad54941d3c.tar.gz
jgit-1e510ec20e0391010419b17e9a9095ad54941d3c.zip
[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>
Diffstat (limited to 'org.eclipse.jgit/findBugs')
-rw-r--r--org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
index 948308e778..f93c8f3027 100644
--- a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
+++ b/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>