Remove StorageException from throws clauses
Change-Id: I48a0169293ddf766fbbd924cb310f9b8dacc58cf
This commit is contained in:
		| @@ -17,7 +17,6 @@ package com.google.gerrit.server.change; | ||||
| import com.google.common.base.Strings; | ||||
| import com.google.common.flogger.FluentLogger; | ||||
| import com.google.gerrit.common.Nullable; | ||||
| import com.google.gerrit.exceptions.StorageException; | ||||
| import com.google.gerrit.extensions.restapi.ResourceConflictException; | ||||
| import com.google.gerrit.reviewdb.client.Change; | ||||
| import com.google.gerrit.reviewdb.client.ChangeMessage; | ||||
| @@ -79,8 +78,7 @@ public class AbandonOp implements BatchUpdateOp { | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public boolean updateChange(ChangeContext ctx) | ||||
|       throws StorageException, ResourceConflictException { | ||||
|   public boolean updateChange(ChangeContext ctx) throws ResourceConflictException { | ||||
|     change = ctx.getChange(); | ||||
|     PatchSet.Id psId = change.currentPatchSetId(); | ||||
|     ChangeUpdate update = ctx.getUpdate(psId); | ||||
| @@ -109,7 +107,7 @@ public class AbandonOp implements BatchUpdateOp { | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public void postUpdate(Context ctx) throws StorageException { | ||||
|   public void postUpdate(Context ctx) { | ||||
|     NotifyResolver.Result notify = ctx.getNotify(change.getId()); | ||||
|     try { | ||||
|       ReplyToChangeSender cm = abandonedSenderFactory.create(ctx.getProject(), change.getId()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dave Borowitz
					Dave Borowitz