From e6ae0f1de880ab887d84aa31fe88b2e1eb67bad8 Mon Sep 17 00:00:00 2001 From: Srk Date: Sat, 18 Nov 2017 19:52:34 +0100 Subject: Rollback number as primitive type --- src/org/traccar/notification/NotificationFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/traccar/notification/NotificationFormatter.java b/src/org/traccar/notification/NotificationFormatter.java index 385f117ea..c537a64e0 100644 --- a/src/org/traccar/notification/NotificationFormatter.java +++ b/src/org/traccar/notification/NotificationFormatter.java @@ -39,7 +39,7 @@ public final class NotificationFormatter { private NotificationFormatter() { } - public static VelocityContext prepareContext(Long userId, Event event, Position position) { + public static VelocityContext prepareContext(long userId, Event event, Position position) { User user = Context.getPermissionsManager().getUser(userId); Device device = Context.getIdentityManager().getById(event.getDeviceId()); -- cgit v1.2.3