diff options
Diffstat (limited to 'src/main/java/org/traccar/database/StatisticsManager.java')
-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); } |