commit | 87d58bed3637b63e35a357548a71ce5da3b72f55 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Mon Aug 05 12:52:53 2019 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Mon Aug 05 12:52:53 2019 +0200 |
tree | 436486e2be9d1282c04e1b9d2990b8a6ccdee688 | |
parent | 4b407780c05def1199ea9c4bb445065ddc1dfbf2 [diff] |
AutomergeChangeAction: Prefer to return Response<?> instead of Response<Object> Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I373b92321b5ea292012672d0826826fda05c623e
diff --git a/src/main/java/com/googlesource/gerrit/plugins/automerger/AutomergeChangeAction.java b/src/main/java/com/googlesource/gerrit/plugins/automerger/AutomergeChangeAction.java index 9caa9e2..79498df 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/automerger/AutomergeChangeAction.java +++ b/src/main/java/com/googlesource/gerrit/plugins/automerger/AutomergeChangeAction.java
@@ -62,7 +62,7 @@ * @throws StorageException */ @Override - public Response<Object> apply(RevisionResource rev, Input input) + public Response<?> apply(RevisionResource rev, Input input) throws IOException, RestApiException, StorageException, ConfigInvalidException { Map<String, Boolean> branchMap = input.branchMap;