Commit c405df19 authored by Greg Messner's avatar Greg Messner
Browse files

Format cleanup.

parent ceffdb94
......@@ -614,20 +614,10 @@ public class MergeRequestApi extends AbstractApi {
* @return the merged merge request
* @throws GitLabApiException if any exception occurs
*/
public MergeRequest acceptMergeRequest(
Object projectIdOrPath,
Integer mergeRequestIid,
AcceptMergeRequestParams params
) throws GitLabApiException {
Response response = put(
Response.Status.OK,
params.getForm(),
"projects",
getProjectIdOrPath(projectIdOrPath),
"merge_requests",
mergeRequestIid,
"merge"
);
public MergeRequest acceptMergeRequest(Object projectIdOrPath, Integer mergeRequestIid,
AcceptMergeRequestParams params) throws GitLabApiException {
Response response = put(Response.Status.OK, params.getForm(), "projects",
getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "merge");
return (response.readEntity(MergeRequest.class));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment