Merge branch 'stable-2.9' into stable-2.10

* stable-2.9
  Remove unneeded 'throws NoSuchChangeException'

Change-Id: I9f22d31cd42b23943321a0e321920248ebdca371
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java
index fd4cebf..56c5d39 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushResultProcessing.java
@@ -21,7 +21,6 @@
 import com.google.gerrit.reviewdb.client.Project;
 import com.google.gerrit.reviewdb.server.ReviewDb;
 import com.google.gerrit.server.events.ChangeEvent;
-import com.google.gerrit.server.project.NoSuchChangeException;
 import com.google.gwtorm.server.OrmException;
 import com.google.gwtorm.server.SchemaFactory;
 
@@ -195,8 +194,7 @@
       }
     }
 
-    private Change retrieveChange(String ref, ReviewDb db)
-        throws OrmException, NoSuchChangeException {
+    private Change retrieveChange(String ref, ReviewDb db) throws OrmException {
       PatchSet.Id id = PatchSet.Id.fromRef(ref);
       Change change = db.changes().get(id.getParentKey());
       return change;