aboutsummaryrefslogtreecommitdiff
path: root/gradle/findbugs.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
commit59416923dcb3a756eaf532cc4259f2f6625c0762 (patch)
tree9082dae6616deac8fda432b7bfd80e4a52b6d9dc /gradle/findbugs.xml
parent79a129dd6327d932133d6b9a50190d3f4927bff9 (diff)
downloadtrackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.gz
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.bz2
trackermap-server-59416923dcb3a756eaf532cc4259f2f6625c0762.zip
Convert project to gradle
Diffstat (limited to 'gradle/findbugs.xml')
-rw-r--r--gradle/findbugs.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/gradle/findbugs.xml b/gradle/findbugs.xml
new file mode 100644
index 000000000..a97cd3cd4
--- /dev/null
+++ b/gradle/findbugs.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FindBugsFilter>
+ <Match>
+ <Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
+ </Match>
+ <Match>
+ <Method name="~get.*Time" />
+ <Bug pattern="EI_EXPOSE_REP" />
+ </Match>
+ <Match>
+ <Method name="~set.*Time" />
+ <Bug pattern="EI_EXPOSE_REP2" />
+ </Match>
+ <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>