working on time list
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -216,7 +216,7 @@ public class TaskModule extends BaseHandler implements TaskService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashMap<Long, Task> load(List<Long> taskIds) {
|
||||
public HashMap<Long, Task> load(Collection<Long> taskIds) {
|
||||
try {
|
||||
var map = taskIds.stream().map(taskDb::load).collect(Collectors.toMap(Task::id, t -> t));
|
||||
return new HashMap<>(map);
|
||||
|
||||
Reference in New Issue
Block a user