summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/findBugs
diff options
context:
space:
mode:
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>