aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Prangenberg <philipp.prangenberg@derkurier.de>2016-12-05 12:36:17 +0100
committerPhilipp Prangenberg <philipp.prangenberg@derkurier.de>2016-12-05 12:36:17 +0100
commitb55e3d1044e973cf14f7521bfacb592867f19d44 (patch)
treebe0223ac41ffcdf6296baf232f01c17bec7ce7c6
parentece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545 (diff)
downloadtrackermap-server-b55e3d1044e973cf14f7521bfacb592867f19d44.tar.gz
trackermap-server-b55e3d1044e973cf14f7521bfacb592867f19d44.tar.bz2
trackermap-server-b55e3d1044e973cf14f7521bfacb592867f19d44.zip
Removed unnecessary Set
-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());