diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-13 23:33:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-13 23:33:21 -0700 |
commit | c9e90e027eef684028e16a894bb2ec362c3db3d9 (patch) | |
tree | a059e4f5222b70c437427c6bd133f4b8e20a2f1f | |
parent | 692a52be1c5b2c1f08d04f5eed1b73b31a9539e0 (diff) | |
download | traccar-server-c9e90e027eef684028e16a894bb2ec362c3db3d9.tar.gz traccar-server-c9e90e027eef684028e16a894bb2ec362c3db3d9.tar.bz2 traccar-server-c9e90e027eef684028e16a894bb2ec362c3db3d9.zip |
Fix error
-rw-r--r-- | src/main/java/org/traccar/database/StatisticsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/StatisticsManager.java b/src/main/java/org/traccar/database/StatisticsManager.java index 21b59540e..1ed232850 100644 --- a/src/main/java/org/traccar/database/StatisticsManager.java +++ b/src/main/java/org/traccar/database/StatisticsManager.java @@ -88,7 +88,7 @@ public class StatisticsManager { if (!deviceProtocols.isEmpty()) { Map<String, Integer> protocols = new HashMap<>(); for (String protocol : deviceProtocols.values()) { - protocols.compute(protocol, (key, count) -> count != null ? count += 1 : 1); + protocols.compute(protocol, (key, count) -> count != null ? count + 1 : 1); } statistics.setProtocols(protocols); } |