diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-30 23:06:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-30 23:06:59 -0700 |
commit | ef5f959f737a6277b146e5eb4e34827638b1f93c (patch) | |
tree | 05dae02283339e64ace42ff062281a68a4f14df8 /src/main/java/org/traccar/reports | |
parent | 1e06b00e5f6068a191d0652798f12df77f0b0e0a (diff) | |
download | trackermap-server-ef5f959f737a6277b146e5eb4e34827638b1f93c.tar.gz trackermap-server-ef5f959f737a6277b146e5eb4e34827638b1f93c.tar.bz2 trackermap-server-ef5f959f737a6277b146e5eb4e34827638b1f93c.zip |
Various minor code cleanup
Diffstat (limited to 'src/main/java/org/traccar/reports')
-rw-r--r-- | src/main/java/org/traccar/reports/ReportUtils.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/reports/ReportUtils.java b/src/main/java/org/traccar/reports/ReportUtils.java index 3a631e0d9..c60c6ba1e 100644 --- a/src/main/java/org/traccar/reports/ReportUtils.java +++ b/src/main/java/org/traccar/reports/ReportUtils.java @@ -81,8 +81,7 @@ public final class ReportUtils { } public static Collection<Long> getDeviceList(Collection<Long> deviceIds, Collection<Long> groupIds) { - Collection<Long> result = new ArrayList<>(); - result.addAll(deviceIds); + Collection<Long> result = new ArrayList<>(deviceIds); for (long groupId : groupIds) { result.addAll(Context.getPermissionsManager().getGroupDevices(groupId)); } |