Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
c405df19
Commit
c405df19
authored
Feb 28, 2020
by
Greg Messner
Browse files
Format cleanup.
parent
ceffdb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/MergeRequestApi.java
View file @
c405df19
...
@@ -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
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment