diff options
Diffstat (limited to 'org.eclipse.jgit/findBugs')
-rw-r--r-- | org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml | 8 |
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="<clinit>" /> + <Bug pattern="DM_STRING_CTOR" /> + </Match> </FindBugsFilter> |