Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r--findbugs-exclude.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
index eb96e850a..2267e66c0 100644
--- a/findbugs-exclude.xml
+++ b/findbugs-exclude.xml
@@ -1,7 +1,10 @@
<FindBugsFilter>
- <!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in "start(BundleContext)" methods -->
+ <!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in bundle activators -->
<Match>
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
- <Method name="start" params="org.osgi.framework.BundleContext" returns="void"/>
+ <Or>
+ <Method name="start" params="org.osgi.framework.BundleContext" returns="void"/>
+ <Method name="stop" params="org.osgi.framework.BundleContext" returns="void"/>
+ </Or>
</Match>
</FindBugsFilter>

Back to the top