reformatting updates for issue #2162
This commit is contained in:
parent
e3489ba3ec
commit
0197e42e9c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue