Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'admin/findbugs-exclude.xml')
-rw-r--r--admin/findbugs-exclude.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/admin/findbugs-exclude.xml b/admin/findbugs-exclude.xml
new file mode 100644
index 000000000..7c72a36c8
--- /dev/null
+++ b/admin/findbugs-exclude.xml
@@ -0,0 +1,22 @@
+<FindBugsFilter>
+ <!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in bundle activators -->
+ <Match>
+ <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+ <Or>
+ <Method name="start" params="org.osgi.framework.BundleContext" returns="void"/>
+ <Method name="stop" params="org.osgi.framework.BundleContext" returns="void"/>
+ </Or>
+ </Match>
+
+ <!-- Ignore all NM_SAME_SIMPLE_NAME_AS_SUPERCLASS violations -->
+ <Match>
+ <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
+ </Match>
+
+ <!-- Ignore all EI_EXPOSE_REP violations for IAdapterFactory#getAdapterList() -->
+ <Match>
+ <Bug pattern="EI_EXPOSE_REP"/>
+ <Method name="getAdapterList"/>
+ </Match>
+
+</FindBugsFilter>

Back to the top