aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-14 14:08:44 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-14 14:08:44 -0700
commit454abd506ac6e1865ece67b534805253e7e63337 (patch)
treeedb42ba9f7f7c031c874cb05b3291f46a3e878b4
parenta96a75cc268f2819431b7441090052b01bf61bed (diff)
downloadtrackermap-server-454abd506ac6e1865ece67b534805253e7e63337.tar.gz
trackermap-server-454abd506ac6e1865ece67b534805253e7e63337.tar.bz2
trackermap-server-454abd506ac6e1865ece67b534805253e7e63337.zip
Fix injection issue
-rw-r--r--src/main/java/org/traccar/handler/events/MotionEventHandler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/handler/events/MotionEventHandler.java b/src/main/java/org/traccar/handler/events/MotionEventHandler.java
index 63b512291..d2c54ccf3 100644
--- a/src/main/java/org/traccar/handler/events/MotionEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/MotionEventHandler.java
@@ -50,8 +50,7 @@ public class MotionEventHandler extends BaseEventHandler {
private final Storage storage;
@Inject
- public MotionEventHandler(
- CacheManager cacheManager, Storage storage, TripsConfig tripsConfig) {
+ public MotionEventHandler(CacheManager cacheManager, Storage storage) {
this.cacheManager = cacheManager;
this.storage = storage;
}