diff options
author | Anton Tananaev <anton@traccar.org> | 2023-12-03 12:12:57 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-12-03 12:12:57 -0800 |
commit | 1efe470d4df335dfaaad5a9e2c6417c24d8864e1 (patch) | |
tree | 1a23061ea91b3ec51c8d80ef65819f5b96e7b4e5 /src/main/java/org/traccar/session | |
parent | f3f12a2ff295d8e60a87e521d09022a2c09763cf (diff) | |
download | trackermap-server-1efe470d4df335dfaaad5a9e2c6417c24d8864e1.tar.gz trackermap-server-1efe470d4df335dfaaad5a9e2c6417c24d8864e1.tar.bz2 trackermap-server-1efe470d4df335dfaaad5a9e2c6417c24d8864e1.zip |
Move find driver method
Diffstat (limited to 'src/main/java/org/traccar/session')
-rw-r--r-- | src/main/java/org/traccar/session/cache/CacheManager.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/org/traccar/session/cache/CacheManager.java b/src/main/java/org/traccar/session/cache/CacheManager.java index 0aadb3692..4b6422de2 100644 --- a/src/main/java/org/traccar/session/cache/CacheManager.java +++ b/src/main/java/org/traccar/session/cache/CacheManager.java @@ -155,13 +155,6 @@ public class CacheManager implements BroadcastInterface { } } - public Driver findDriverByUniqueId(long deviceId, String driverUniqueId) { - return getDeviceObjects(deviceId, Driver.class).stream() - .filter(driver -> driver.getUniqueId().equals(driverUniqueId)) - .findFirst() - .orElse(null); - } - public void addDevice(long deviceId) throws StorageException { try { lock.writeLock().lock(); |