aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/session/cache
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-02 17:46:11 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-02 17:46:11 -0700
commitb7119d6fe834d6ece8b80d5774b143e491eb2a93 (patch)
treec05898d4568e757b6d74355f3e28e29fea0a225b /src/main/java/org/traccar/session/cache
parent026dc29deee601d3351274a888a73b434c1addfa (diff)
downloadtrackermap-server-b7119d6fe834d6ece8b80d5774b143e491eb2a93.tar.gz
trackermap-server-b7119d6fe834d6ece8b80d5774b143e491eb2a93.tar.bz2
trackermap-server-b7119d6fe834d6ece8b80d5774b143e491eb2a93.zip
Fix style issue
Diffstat (limited to 'src/main/java/org/traccar/session/cache')
-rw-r--r--src/main/java/org/traccar/session/cache/CacheManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/session/cache/CacheManager.java b/src/main/java/org/traccar/session/cache/CacheManager.java
index 273c54c9a..4669024d3 100644
--- a/src/main/java/org/traccar/session/cache/CacheManager.java
+++ b/src/main/java/org/traccar/session/cache/CacheManager.java
@@ -154,7 +154,7 @@ public class CacheManager {
storage.getObjects(User.class, new Request(new Columns.All()))
.forEach(user -> users.put(user.getId(), user));
storage.getPermissions(User.class, Notification.class).forEach(permission -> {
- long notificationId = permission.getPropertyId();;
+ long notificationId = permission.getPropertyId();
var user = users.get(permission.getOwnerId());
notificationUsers.computeIfAbsent(notificationId, k -> new LinkedList<>()).add(user);
});