Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorUwe Stieber2012-04-25 16:27:35 +0000
committerUwe Stieber2012-04-25 16:27:35 +0000
commitac996bb47b63d2bd693fe4199d8b46b0060a24c1 (patch)
tree09b93525fe879cf47cfc2bcc36a0ad07bd3fac18 /admin
parentfa064aa92068bda5d57f50ef2ef23cdaf9001f6b (diff)
downloadorg.eclipse.tcf-ac996bb47b63d2bd693fe4199d8b46b0060a24c1.tar.gz
org.eclipse.tcf-ac996bb47b63d2bd693fe4199d8b46b0060a24c1.tar.xz
org.eclipse.tcf-ac996bb47b63d2bd693fe4199d8b46b0060a24c1.zip
Target Explorer: Fix findbugs warnings, ignore serialization warnings
Diffstat (limited to 'admin')
-rw-r--r--admin/findbugs-exclude.xml35
1 files changed, 25 insertions, 10 deletions
diff --git a/admin/findbugs-exclude.xml b/admin/findbugs-exclude.xml
index 509fddd77..0193e04f0 100644
--- a/admin/findbugs-exclude.xml
+++ b/admin/findbugs-exclude.xml
@@ -1,4 +1,28 @@
<FindBugsFilter>
+ <!-- Ignore all I18N Internationalization bugs -->
+ <Match>
+ <Bug category="I18N"/>
+ </Match>
+
+ <!-- Ignore all NM_SAME_SIMPLE_NAME_AS_SUPERCLASS violations -->
+ <Match>
+ <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
+ </Match>
+
+ <!-- Ignore all SF_SWITCH_NO_DEFAULT violations -->
+ <Match>
+ <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
+ </Match>
+
+ <!-- Ignore all serialization violations -->
+ <Match>
+ <Or>
+ <Bug pattern="SE_BAD_FIELD"/>
+ <Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
+ <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE"/>
+ </Or>
+ </Match>
+
<!-- Ignore all ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD violations in bundle activators -->
<Match>
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
@@ -8,22 +32,12 @@
</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>
- <!-- Ignore all I18N Internationalization bugs -->
- <Match>
- <Bug category="I18N"/>
- </Match>
-
<!-- Ignore LI_LAZY_INIT_UPDATE_STATIC in Model.java -->
<Match>
<Bug pattern="LI_LAZY_INIT_UPDATE_STATIC"/>
@@ -32,4 +46,5 @@
<Method name="initialize"/>
</And>
</Match>
+
</FindBugsFilter>

Back to the top