diff options
author | Philipp Prangenberg <philipp.prangenberg@derkurier.de> | 2016-12-05 12:36:17 +0100 |
---|---|---|
committer | Philipp Prangenberg <philipp.prangenberg@derkurier.de> | 2016-12-05 12:36:17 +0100 |
commit | b55e3d1044e973cf14f7521bfacb592867f19d44 (patch) | |
tree | be0223ac41ffcdf6296baf232f01c17bec7ce7c6 /src | |
parent | ece410b8fb0a0f186ed81c1a9fc8f0d4bbe0f545 (diff) | |
download | traccar-server-b55e3d1044e973cf14f7521bfacb592867f19d44.tar.gz traccar-server-b55e3d1044e973cf14f7521bfacb592867f19d44.tar.bz2 traccar-server-b55e3d1044e973cf14f7521bfacb592867f19d44.zip |
Removed unnecessary Set
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/database/DeviceManager.java | 1 |
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()); |