diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-12 09:55:13 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-12 09:55:13 +1200 |
commit | 781f4b0a01dd8b16892b0bb907d43f9e0ca6f2ba (patch) | |
tree | b3c62c7d26b3534e139aa26fa6315428473b160b /src/org/traccar/database/NotificationManager.java | |
parent | a4a127b5255cd62aae25419dbf289a926c5adbfd (diff) | |
download | trackermap-server-781f4b0a01dd8b16892b0bb907d43f9e0ca6f2ba.tar.gz trackermap-server-781f4b0a01dd8b16892b0bb907d43f9e0ca6f2ba.tar.bz2 trackermap-server-781f4b0a01dd8b16892b0bb907d43f9e0ca6f2ba.zip |
Use long primitive type
Diffstat (limited to 'src/org/traccar/database/NotificationManager.java')
-rw-r--r-- | src/org/traccar/database/NotificationManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/NotificationManager.java b/src/org/traccar/database/NotificationManager.java index d263e160f..e618d7ed3 100644 --- a/src/org/traccar/database/NotificationManager.java +++ b/src/org/traccar/database/NotificationManager.java @@ -54,7 +54,7 @@ public class NotificationManager { } Set<Long> users = Context.getPermissionsManager().getDeviceUsers(event.getDeviceId()); - for (Long userId : users) { + for (long userId : users) { if (event.getGeofenceId() == 0 || Context.getGeofenceManager() != null && Context.getGeofenceManager().checkGeofence(userId, event.getGeofenceId())) { Notification notification = getUserNotificationByType(userId, event.getType()); |