aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-03 18:50:54 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-03 18:50:54 -0700
commit6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c (patch)
tree2d23c675231e234a8e360566334c4d2838548797 /src
parent3e6929ff362d53aea19516cb5b903d1d753e8ddc (diff)
downloadtrackermap-server-6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c.tar.gz
trackermap-server-6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c.tar.bz2
trackermap-server-6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c.zip
Rename fuel event handler
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/BasePipelineFactory.java4
-rw-r--r--src/main/java/org/traccar/handler/events/FuelEventHandler.java (renamed from src/main/java/org/traccar/handler/events/FuelDropEventHandler.java)4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java
index fb48f81d1..0d91ec7e4 100644
--- a/src/main/java/org/traccar/BasePipelineFactory.java
+++ b/src/main/java/org/traccar/BasePipelineFactory.java
@@ -45,7 +45,7 @@ import org.traccar.handler.events.AlertEventHandler;
import org.traccar.handler.events.BehaviorEventHandler;
import org.traccar.handler.events.CommandResultEventHandler;
import org.traccar.handler.events.DriverEventHandler;
-import org.traccar.handler.events.FuelDropEventHandler;
+import org.traccar.handler.events.FuelEventHandler;
import org.traccar.handler.events.GeofenceEventHandler;
import org.traccar.handler.events.IgnitionEventHandler;
import org.traccar.handler.events.MaintenanceEventHandler;
@@ -146,7 +146,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> {
CommandResultEventHandler.class,
OverspeedEventHandler.class,
BehaviorEventHandler.class,
- FuelDropEventHandler.class,
+ FuelEventHandler.class,
MotionEventHandler.class,
GeofenceEventHandler.class,
AlertEventHandler.class,
diff --git a/src/main/java/org/traccar/handler/events/FuelDropEventHandler.java b/src/main/java/org/traccar/handler/events/FuelEventHandler.java
index 25ae1fadb..9ec819a5f 100644
--- a/src/main/java/org/traccar/handler/events/FuelDropEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/FuelEventHandler.java
@@ -29,12 +29,12 @@ import java.util.Collections;
import java.util.Map;
@ChannelHandler.Sharable
-public class FuelDropEventHandler extends BaseEventHandler {
+public class FuelEventHandler extends BaseEventHandler {
private final CacheManager cacheManager;
@Inject
- public FuelDropEventHandler(CacheManager cacheManager) {
+ public FuelEventHandler(CacheManager cacheManager) {
this.cacheManager = cacheManager;
}