TSK-1926: Remove duplicate from TaskServiceImpl

This commit is contained in:
ryzheboka 2022-08-24 12:04:38 +02:00 committed by Elena Mokeeva
parent acb53a5a61
commit 3575b8aa17
1 changed files with 0 additions and 1 deletions

View File

@ -258,7 +258,6 @@ public class TaskServiceImpl implements TaskService {
String workbasketId = taskanaEngine.getTaskRoutingManager().determineWorkbasketId(task);
if (workbasketId != null) {
workbasket = workbasketService.getWorkbasket(workbasketId);
task.setWorkbasketSummary(workbasket.asSummary());
} else {
throw new InvalidArgumentException("Cannot create a Task outside a Workbasket");
}