aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:28:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-13 23:28:11 -0700
commit692a52be1c5b2c1f08d04f5eed1b73b31a9539e0 (patch)
tree128f48cb666bca89630847cfd446df9296698788 /src/main/java/org/traccar/MainModule.java
parent47c35e66193d1dda4db5c326c9d39709aee3e2a6 (diff)
downloadtrackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.tar.gz
trackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.tar.bz2
trackermap-server-692a52be1c5b2c1f08d04f5eed1b73b31a9539e0.zip
Collect protocol statistics
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index 5e5ab2327..de6ec5b87 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -136,8 +136,9 @@ public class MainModule extends AbstractModule {
@Singleton
@Provides
- public static StatisticsManager provideStatisticsManager(Config config, DataManager dataManager, Client client) {
- return new StatisticsManager(config, dataManager, client);
+ public static StatisticsManager provideStatisticsManager(
+ Config config, DataManager dataManager, Client client, ObjectMapper objectMapper) {
+ return new StatisticsManager(config, dataManager, client, objectMapper);
}
@Singleton