diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-25 20:02:22 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-26 08:41:45 +1300 |
commit | 8535983fea8c09046c53f2ebf388bbf3fae594ce (patch) | |
tree | a9f60c445ea163450b8886f7988853d86088db10 /src/org/traccar/reports/Events.java | |
parent | 1c915fa1360f416ec88f4095664a887ceea2bc15 (diff) | |
download | trackermap-server-8535983fea8c09046c53f2ebf388bbf3fae594ce.tar.gz trackermap-server-8535983fea8c09046c53f2ebf388bbf3fae594ce.tar.bz2 trackermap-server-8535983fea8c09046c53f2ebf388bbf3fae594ce.zip |
Clean up unnecessary code
Diffstat (limited to 'src/org/traccar/reports/Events.java')
-rw-r--r-- | src/org/traccar/reports/Events.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/reports/Events.java b/src/org/traccar/reports/Events.java index a13aeeeb4..7cb6ef6eb 100644 --- a/src/org/traccar/reports/Events.java +++ b/src/org/traccar/reports/Events.java @@ -77,7 +77,7 @@ public final class Events { long geofenceId = event.getGeofenceId(); if (geofenceId != 0) { if (Context.getGeofenceManager().checkItemPermission(userId, geofenceId)) { - Geofence geofence = (Geofence) Context.getGeofenceManager().getById(geofenceId); + Geofence geofence = Context.getGeofenceManager().getById(geofenceId); if (geofence != null) { geofenceNames.put(geofenceId, geofence.getName()); } |