ApprovalsUtil: Remove declaration of unthrown OrmException

Change-Id: I85fef25996a9228828495b930c9f366d2f49a014
This commit is contained in:
David Pursehouse
2018-12-20 12:32:45 +09:00
parent 42d8d6eb46
commit 9e28c94f12

View File

@@ -148,8 +148,7 @@ public class ApprovalsUtil {
PatchSet ps,
PatchSetInfo info,
Iterable<Account.Id> wantReviewers,
Collection<Account.Id> existingReviewers)
throws OrmException {
Collection<Account.Id> existingReviewers) {
return addReviewers(
update,
labelTypes,
@@ -191,8 +190,7 @@ public class ApprovalsUtil {
Account.Id authorId,
Account.Id committerId,
Iterable<Account.Id> wantReviewers,
Collection<Account.Id> existingReviewers)
throws OrmException {
Collection<Account.Id> existingReviewers) {
List<LabelType> allTypes = labelTypes.getLabelTypes();
if (allTypes.isEmpty()) {
return ImmutableList.of();