commit | bf91f8df5616c4cc30fda85793cf05c0fb2e02f8 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Sep 18 11:44:35 2019 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Wed Sep 18 11:44:35 2019 +0200 |
tree | c92c8b722ca11988bdd0bd81434d78577d94310b | |
parent | 3450781ac7780d97498e4dfa313f08b9b22f2a3a [diff] |
Adapt to change in Gerrit core With change I89c0c68bf Response#value() is now throwing Exception which needs to be handled. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ib24bab74c85dfd9ef9289c1979507d1acd0a1b55
diff --git a/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java b/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java index 870cd61..7c0647e 100644 --- a/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java +++ b/java/com/google/gerrit/plugins/checks/api/QueryPendingChecks.java
@@ -80,8 +80,7 @@ this.checkerQueryProvider = checkerQueryProvider; } - public List<PendingChecksInfo> apply() - throws RestApiException, IOException, ConfigInvalidException, StorageException { + public List<PendingChecksInfo> apply() throws Exception { return apply(TopLevelResource.INSTANCE).value(); }