working on time list

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-08-18 15:37:57 +02:00
parent d394c9d817
commit 7ab844bcff
6 changed files with 47 additions and 63 deletions

View File

@@ -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);