From 9dc855004c69b1d4fe770ddadf44b4a4df52d499 Mon Sep 17 00:00:00 2001 From: Lucas Leite Date: Wed, 18 Sep 2024 12:07:31 -0300 Subject: [PATCH] Fixed style check issue --- .../java/org/traccar/api/resource/NotificationResource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/traccar/api/resource/NotificationResource.java b/src/main/java/org/traccar/api/resource/NotificationResource.java index 8cfdf8a5b..5cc3055d1 100644 --- a/src/main/java/org/traccar/api/resource/NotificationResource.java +++ b/src/main/java/org/traccar/api/resource/NotificationResource.java @@ -129,7 +129,8 @@ public class NotificationResource extends ExtendedObjectResource { var conditions = new LinkedList(); conditions.add(new Condition.Equals("id", userId)); if (permissionsService.notAdmin(getUserId())) { - conditions.add(new Condition.Permission(User.class, getUserId(), ManagedUser.class).excludeGroups()); + conditions.add(new Condition.Permission( + User.class, getUserId(), ManagedUser.class).excludeGroups()); } users.add(storage.getObject( User.class, new Request(new Columns.All(), Condition.merge(conditions))));