]> source.dussan.org Git - jgit.git/commitdiff
[findBugs] Silence warning about Transport initialization 85/6785/2
authorRobin Stocker <robin@nibor.org>
Thu, 13 Sep 2012 22:01:47 +0000 (00:01 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 13 Sep 2012 22:01:47 +0000 (00:01 +0200)
Change-Id: I98fc9720106bcd873b330090bafde276508f8a40
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml

index b8f300740a6784abb6ae559ba7e7dc198380daff..2efbb9c1a5b7e862075f13f7a4f8bd7978175320 100644 (file)
        <Method name="toBooleanOrNull" />
        <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
      </Match>
+
+     <!-- Transport initialization works like this -->
+     <Match>
+       <Class name="org.eclipse.jgit.transport.Transport" />
+       <Bug pattern="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION" />
+     </Match>
 </FindBugsFilter>