Remove StorageException from throws clauses
Change-Id: I48a0169293ddf766fbbd924cb310f9b8dacc58cf
This commit is contained in:
@@ -17,7 +17,6 @@ package com.google.gerrit.server.change;
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
||||
import com.google.common.flogger.FluentLogger;
|
||||
import com.google.gerrit.exceptions.StorageException;
|
||||
import com.google.gerrit.extensions.restapi.ResourceConflictException;
|
||||
import com.google.gerrit.extensions.restapi.RestApiException;
|
||||
import com.google.gerrit.reviewdb.client.Change;
|
||||
@@ -74,7 +73,7 @@ public class SetAssigneeOp implements BatchUpdateOp {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean updateChange(ChangeContext ctx) throws StorageException, RestApiException {
|
||||
public boolean updateChange(ChangeContext ctx) throws RestApiException {
|
||||
change = ctx.getChange();
|
||||
if (newAssignee.getAccountId().equals(change.getAssignee())) {
|
||||
return false;
|
||||
@@ -117,7 +116,7 @@ public class SetAssigneeOp implements BatchUpdateOp {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postUpdate(Context ctx) throws StorageException {
|
||||
public void postUpdate(Context ctx) {
|
||||
try {
|
||||
SetAssigneeSender cm =
|
||||
setAssigneeSenderFactory.create(
|
||||
|
||||
Reference in New Issue
Block a user