aboutsummaryrefslogtreecommitdiff
path: root/findbugs.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-22 19:53:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-22 19:53:48 +1300
commit48a5bd364b496de70a1a3eff8dd5c57c5d8fec9d (patch)
tree35a9c364f5659300b535834ccaaed737ed197a61 /findbugs.xml
parent58ade656e2070387f95984f5851cbc41990467ba (diff)
downloadtrackermap-server-48a5bd364b496de70a1a3eff8dd5c57c5d8fec9d.tar.gz
trackermap-server-48a5bd364b496de70a1a3eff8dd5c57c5d8fec9d.tar.bz2
trackermap-server-48a5bd364b496de70a1a3eff8dd5c57c5d8fec9d.zip
Optimize date assignment
Diffstat (limited to 'findbugs.xml')
-rw-r--r--findbugs.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/findbugs.xml b/findbugs.xml
index 18fba5c9a..d7890baac 100644
--- a/findbugs.xml
+++ b/findbugs.xml
@@ -1,6 +1,14 @@
<?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" />