diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/BaseEventHandler.java | 4 | ||||
-rw-r--r-- | src/org/traccar/events/CommandResultEventHandler.java | 2 | ||||
-rw-r--r-- | src/org/traccar/events/GeofenceEventHandler.java | 2 | ||||
-rw-r--r-- | src/org/traccar/events/MotionEventHandler.java | 2 | ||||
-rw-r--r-- | src/org/traccar/events/OverspeedEventHandler.java | 2 | ||||
-rw-r--r-- | src/org/traccar/geofence/GeofenceCircle.java | 2 | ||||
-rw-r--r-- | src/org/traccar/geofence/GeofencePolygon.java | 2 |
7 files changed, 6 insertions, 10 deletions
diff --git a/src/org/traccar/BaseEventHandler.java b/src/org/traccar/BaseEventHandler.java index 78542b33a..d5755be89 100644 --- a/src/org/traccar/BaseEventHandler.java +++ b/src/org/traccar/BaseEventHandler.java @@ -31,7 +31,7 @@ public abstract class BaseEventHandler extends BaseDataHandler { } } - Collection<Event> events = analizePosition(position); + Collection<Event> events = analyzePosition(position); if (events != null) { for (Event event : events) { Context.getNotificationManager().updateEvent(event, position); @@ -40,6 +40,6 @@ public abstract class BaseEventHandler extends BaseDataHandler { return position; } - protected abstract Collection<Event> analizePosition(Position position); + protected abstract Collection<Event> analyzePosition(Position position); } diff --git a/src/org/traccar/events/CommandResultEventHandler.java b/src/org/traccar/events/CommandResultEventHandler.java index 9dbdb4b4c..8e19e9523 100644 --- a/src/org/traccar/events/CommandResultEventHandler.java +++ b/src/org/traccar/events/CommandResultEventHandler.java @@ -10,7 +10,7 @@ import org.traccar.model.Position; public class CommandResultEventHandler extends BaseEventHandler { @Override - protected Collection<Event> analizePosition(Position position) { + protected Collection<Event> analyzePosition(Position position) { Object commandResult = position.getAttributes().get(Position.KEY_RESULT); if (commandResult != null) { Collection<Event> events = new ArrayList<>(); diff --git a/src/org/traccar/events/GeofenceEventHandler.java b/src/org/traccar/events/GeofenceEventHandler.java index 56029fced..e3598bd16 100644 --- a/src/org/traccar/events/GeofenceEventHandler.java +++ b/src/org/traccar/events/GeofenceEventHandler.java @@ -26,7 +26,7 @@ public class GeofenceEventHandler extends BaseEventHandler { } @Override - protected Collection<Event> analizePosition(Position position) { + protected Collection<Event> analyzePosition(Position position) { if (!isLastPosition() || !position.getValid()) { return null; } diff --git a/src/org/traccar/events/MotionEventHandler.java b/src/org/traccar/events/MotionEventHandler.java index 2ba5979e3..5b1020aec 100644 --- a/src/org/traccar/events/MotionEventHandler.java +++ b/src/org/traccar/events/MotionEventHandler.java @@ -21,7 +21,7 @@ public class MotionEventHandler extends BaseEventHandler { } @Override - protected Collection<Event> analizePosition(Position position) { + protected Collection<Event> analyzePosition(Position position) { Collection<Event> result = null; if (!isLastPosition()) { return null; diff --git a/src/org/traccar/events/OverspeedEventHandler.java b/src/org/traccar/events/OverspeedEventHandler.java index 152fe6f22..61089274d 100644 --- a/src/org/traccar/events/OverspeedEventHandler.java +++ b/src/org/traccar/events/OverspeedEventHandler.java @@ -22,7 +22,7 @@ public class OverspeedEventHandler extends BaseEventHandler { } @Override - protected Collection<Event> analizePosition(Position position) { + protected Collection<Event> analyzePosition(Position position) { Collection<Event> events = new ArrayList<>(); if (!isLastPosition()) { return null; diff --git a/src/org/traccar/geofence/GeofenceCircle.java b/src/org/traccar/geofence/GeofenceCircle.java index e1c8f8a02..f71497475 100644 --- a/src/org/traccar/geofence/GeofenceCircle.java +++ b/src/org/traccar/geofence/GeofenceCircle.java @@ -12,11 +12,9 @@ public class GeofenceCircle extends GeofenceGeometry { private double radius; public GeofenceCircle() { - super(); } public GeofenceCircle(String wkt) throws ParseException { - super(); fromWkt(wkt); } diff --git a/src/org/traccar/geofence/GeofencePolygon.java b/src/org/traccar/geofence/GeofencePolygon.java index 52920b7b1..970734214 100644 --- a/src/org/traccar/geofence/GeofencePolygon.java +++ b/src/org/traccar/geofence/GeofencePolygon.java @@ -6,11 +6,9 @@ import java.util.ArrayList; public class GeofencePolygon extends GeofenceGeometry { public GeofencePolygon() { - super(); } public GeofencePolygon(String wkt) throws ParseException { - super(); fromWkt(wkt); } |