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 { ...@@ -614,20 +614,10 @@ public class MergeRequestApi extends AbstractApi {
* @return the merged merge request * @return the merged merge request
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public MergeRequest acceptMergeRequest( public MergeRequest acceptMergeRequest(Object projectIdOrPath, Integer mergeRequestIid,
Object projectIdOrPath, AcceptMergeRequestParams params) throws GitLabApiException {
Integer mergeRequestIid, Response response = put(Response.Status.OK, params.getForm(), "projects",
AcceptMergeRequestParams params getProjectIdOrPath(projectIdOrPath), "merge_requests", mergeRequestIid, "merge");
) throws GitLabApiException {
Response response = put(
Response.Status.OK,
params.getForm(),
"projects",
getProjectIdOrPath(projectIdOrPath),
"merge_requests",
mergeRequestIid,
"merge"
);
return (response.readEntity(MergeRequest.class)); 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