aboutsummaryrefslogtreecommitdiff
path: root/findbugs.xml
blob: d7890baacba27b623f0d4e6a31adca1cf6758a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
  <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>