aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/database/DeviceManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-30 11:16:05 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-30 11:16:05 -0700
commitb1a971eedb18a11af2cdc70ba5f8004bae89defd (patch)
treecd63dbb617457f7e1b2f2893db770c564932f9c7 /src/main/java/org/traccar/database/DeviceManager.java
parentb9d7cbe6f15b471b0edff49870fef8190949ad09 (diff)
downloadtrackermap-server-b1a971eedb18a11af2cdc70ba5f8004bae89defd.tar.gz
trackermap-server-b1a971eedb18a11af2cdc70ba5f8004bae89defd.tar.bz2
trackermap-server-b1a971eedb18a11af2cdc70ba5f8004bae89defd.zip
Remove unused interface
Diffstat (limited to 'src/main/java/org/traccar/database/DeviceManager.java')
-rw-r--r--src/main/java/org/traccar/database/DeviceManager.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/database/DeviceManager.java b/src/main/java/org/traccar/database/DeviceManager.java
index a9b8454eb..a14fd7022 100644
--- a/src/main/java/org/traccar/database/DeviceManager.java
+++ b/src/main/java/org/traccar/database/DeviceManager.java
@@ -38,7 +38,7 @@ import org.traccar.model.Position;
import org.traccar.model.Server;
import org.traccar.storage.StorageException;
-public class DeviceManager extends BaseObjectManager<Device> implements IdentityManager, ManagableObjects {
+public class DeviceManager extends BaseObjectManager<Device> implements IdentityManager {
private static final Logger LOGGER = LoggerFactory.getLogger(DeviceManager.class);
@@ -162,7 +162,6 @@ public class DeviceManager extends BaseObjectManager<Device> implements Identity
return Context.getPermissionsManager().getDevicePermissions(userId);
}
- @Override
public Set<Long> getUserItems(long userId) {
if (Context.getPermissionsManager() != null) {
Set<Long> result = new HashSet<>();
@@ -186,7 +185,6 @@ public class DeviceManager extends BaseObjectManager<Device> implements Identity
return result;
}
- @Override
public Set<Long> getManagedItems(long userId) {
Set<Long> result = new HashSet<>(getUserItems(userId));
for (long managedUserId : Context.getUsersManager().getUserItems(userId)) {