aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/database/StatisticsManager.java2
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);
}