aboutsummaryrefslogtreecommitdiff
path: root/findbugs.xml
diff options
context:
space:
mode:
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>