Returning TaskService.java to original form
This commit is contained in:
parent
06b7404ecd
commit
ae51e9c0e7
|
|
@ -236,14 +236,8 @@ public interface TaskService {
|
||||||
Task forceCancelClaim(String taskId)
|
Task forceCancelClaim(String taskId)
|
||||||
throws TaskNotFoundException,
|
throws TaskNotFoundException,
|
||||||
InvalidOwnerException,
|
InvalidOwnerException,
|
||||||
InvalidTaskStateException {
|
NotAuthorizedOnWorkbasketException,
|
||||||
try {
|
InvalidTaskStateException;
|
||||||
return this.cancelClaim(taskId, true);
|
|
||||||
} catch (NotAuthorizedOnWorkbasketException e) {
|
|
||||||
throw new SystemException(
|
|
||||||
"this should not have happened. You've discovered a new bug! :D", e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request review for an existing {@linkplain Task} that is in {@linkplain TaskState#CLAIMED}.
|
* Request review for an existing {@linkplain Task} that is in {@linkplain TaskState#CLAIMED}.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue