Browse Source

[findBugs] Silence warning about Transport initialization

Change-Id: I98fc9720106bcd873b330090bafde276508f8a40
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-2.2
Robin Stocker 12 years ago committed by Matthias Sohn
parent
commit
187101808c
  1. 6
      org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

6
org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

@ -52,4 +52,10 @@
<Method name="toBooleanOrNull" /> <Method name="toBooleanOrNull" />
<Bug pattern="NP_BOOLEAN_RETURN_NULL" /> <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
</Match> </Match>
<!-- Transport initialization works like this -->
<Match>
<Class name="org.eclipse.jgit.transport.Transport" />
<Bug pattern="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION" />
</Match>
</FindBugsFilter> </FindBugsFilter>

Loading…
Cancel
Save