reformatting updates for issue #2162

This commit is contained in:
Luis Rivas 2023-03-23 11:51:13 -07:00 committed by Alex
parent e3489ba3ec
commit 0197e42e9c
1 changed files with 6 additions and 9 deletions

View File

@ -184,15 +184,12 @@ public class TaskServiceImpl implements TaskService {
@Override
public Task forceCancelClaim(String taskId)
throws TaskNotFoundException,
InvalidTaskStateException,
InvalidOwnerException
try {
return this.cancelClaim(taskId, true);
} catch (InvalidOwnerException e) {
throw new SystemException(
"this should not have happened. You've discovered a new bug!", e);
}
throws TaskNotFoundException, InvalidTaskStateException, NotAuthorizedOnWorkbasketException {
try {
return this.cancelClaim(taskId, true);
} catch (InvalidOwnerException e) {
throw new SystemException("this should not have happened. You've discovered a new bug!", e);
}
}
@Override