aboutsummaryrefslogtreecommitdiff
path: root/findbugs.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-09 17:26:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-09 17:26:38 +1300
commit232de5f0daef98f31b28d177d991fdbfa191f195 (patch)
treeac47d3e7503527708b06c31833ad869180f96635 /findbugs.xml
parentebb5e7eeee6a0210dd2280ec1aabb232b958022f (diff)
downloadtrackermap-server-232de5f0daef98f31b28d177d991fdbfa191f195.tar.gz
trackermap-server-232de5f0daef98f31b28d177d991fdbfa191f195.tar.bz2
trackermap-server-232de5f0daef98f31b28d177d991fdbfa191f195.zip
Fix and disable warnings
Diffstat (limited to 'findbugs.xml')
-rw-r--r--findbugs.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/findbugs.xml b/findbugs.xml
new file mode 100644
index 000000000..18fba5c9a
--- /dev/null
+++ b/findbugs.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FindBugsFilter>
+ <Match>
+ <Class name="org.traccar.notification.PropertiesProvider" />
+ <Method name="getBoolean" />
+ <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
+ </Match>
+ <Match>
+ <Class name="org.traccar.protocol.TrvProtocolDecoder" />
+ <Method name="decodeOptionalValue" />
+ <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
+ </Match>
+ <Match>
+ <Class name="org.traccar.protocol.Gps056ProtocolDecoder" />
+ <Method name="decodeCoordinate" />
+ <Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
+ </Match>
+ <Match>
+ <Class name="org.traccar.protocol.PricolProtocolDecoder" />
+ <Method name="decode" />
+ <Bug pattern="ICAST_IDIV_CAST_TO_DOUBLE" />
+ </Match>
+</FindBugsFilter>