aboutsummaryrefslogtreecommitdiffstats
path: root/main/project
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-12-16 17:38:58 +0100
committerBananeweizen <bananeweizen@gmx.de>2013-12-16 17:38:58 +0100
commit4a6d2753b5d27a3c06daa1b3e669cacf3ddd59d4 (patch)
tree77109c941814dcd8974759acfcef77a5954b7cd0 /main/project
parentc0ba0ccc74ee1c0a9d1e84a9cf58b30ffff502b3 (diff)
downloadcgeo-4a6d2753b5d27a3c06daa1b3e669cacf3ddd59d4.zip
cgeo-4a6d2753b5d27a3c06daa1b3e669cacf3ddd59d4.tar.gz
cgeo-4a6d2753b5d27a3c06daa1b3e669cacf3ddd59d4.tar.bz2
cleanup: fix all findbugs on test and calendar
Diffstat (limited to 'main/project')
-rw-r--r--main/project/findbugs/exclusions.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/main/project/findbugs/exclusions.xml b/main/project/findbugs/exclusions.xml
index c3e6299..798ecb4 100644
--- a/main/project/findbugs/exclusions.xml
+++ b/main/project/findbugs/exclusions.xml
@@ -25,6 +25,8 @@
<Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
</Or>
</Match>
+
+ <!-- Memory usage improvement by explicitly removing shared substrings in pattern matcher. -->
<Match>
<Bug pattern="DM_STRING_CTOR" />
<Or>
@@ -32,9 +34,17 @@
<Class name="~.*TextUtils"></Class>
</Or>
</Match>
+
+ <!-- File scanner needs to use hard coded names. -->
<Match>
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
<Class name="~.*LocalStorage"/>
</Match>
-
+
+ <!-- Tests using setUp() methods don't initialize their fields in the constructor. -->
+ <Match>
+ <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
+ <Class name="~.*Test"/>
+ </Match>
+
</FindBugsFilter> \ No newline at end of file