Remove usages of Throwables#propagate
Guava intends to deprecate these, and recommends explicitly wrapping
with RuntimeException instead.
Change-Id: Id148cb96164d31fae2d12945baa6db462b31fd36
diff --git a/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java b/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java
index be5d1c8..b8d609d 100644
--- a/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java
+++ b/gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java
@@ -17,7 +17,6 @@
import com.google.common.base.Optional;
import com.google.common.base.Supplier;
import com.google.common.base.Suppliers;
-import com.google.common.base.Throwables;
import com.google.common.collect.Sets;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.google.gerrit.common.data.LabelType;
@@ -845,7 +844,7 @@
return eventFactory.asPatchSetAttribute(
revWalk, change, patchSet);
} catch (IOException e) {
- throw Throwables.propagate(e);
+ throw new RuntimeException(e);
}
}
});
diff --git a/plugins/replication b/plugins/replication
index 77ae05e..8419e92 160000
--- a/plugins/replication
+++ b/plugins/replication
@@ -1 +1 @@
-Subproject commit 77ae05e49c7413c7c3ae8bcdb73edb7403e38f6a
+Subproject commit 8419e92cb014c1fa5a1f1757e187bf880f99b476