aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DeviceManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/DeviceManager.java')
-rw-r--r--src/org/traccar/database/DeviceManager.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/org/traccar/database/DeviceManager.java b/src/org/traccar/database/DeviceManager.java
index 700d22679..e13fa2dbb 100644
--- a/src/org/traccar/database/DeviceManager.java
+++ b/src/org/traccar/database/DeviceManager.java
@@ -253,7 +253,6 @@ public class DeviceManager implements IdentityManager {
Set<String> databaseGroupsNames = new HashSet<>();
for (Group group : databaseGroups) {
databaseGroupsIds.add(group.getId());
- databaseGroupsNames.add(group.getName());
if (groupsById.containsKey(group.getId())) {
Group cachedGroup = groupsById.get(group.getId());
cachedGroup.setName(group.getName());