From 781f4b0a01dd8b16892b0bb907d43f9e0ca6f2ba Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 12 Jul 2016 09:55:13 +1200 Subject: Use long primitive type --- src/org/traccar/database/NotificationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/database/NotificationManager.java') 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 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()); -- cgit v1.2.3