aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/handler/EngineHoursHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/handler/EngineHoursHandler.java')
-rw-r--r--src/main/java/org/traccar/handler/EngineHoursHandler.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/handler/EngineHoursHandler.java b/src/main/java/org/traccar/handler/EngineHoursHandler.java
index 92da84e6b..be2a46ade 100644
--- a/src/main/java/org/traccar/handler/EngineHoursHandler.java
+++ b/src/main/java/org/traccar/handler/EngineHoursHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2018 - 2019 Anton Tananaev (anton@traccar.org)
+ * Copyright 2018 - 2022 Anton Tananaev (anton@traccar.org)
* Copyright 2018 Andrey Kunitsyn (andrey@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,11 +21,14 @@ import org.traccar.BaseDataHandler;
import org.traccar.database.IdentityManager;
import org.traccar.model.Position;
+import javax.inject.Inject;
+
@ChannelHandler.Sharable
public class EngineHoursHandler extends BaseDataHandler {
private final IdentityManager identityManager;
+ @Inject
public EngineHoursHandler(IdentityManager identityManager) {
this.identityManager = identityManager;
}