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
cb0fee18
Commit
cb0fee18
authored
May 14, 2015
by
六幻
Browse files
fix:PUT mehtod is not workable at all.
parent
db48ec90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/messners/gitlab/api/GitLabApiClient.java
View file @
cb0fee18
...
@@ -250,7 +250,7 @@ public class GitLabApiClient {
...
@@ -250,7 +250,7 @@ public class GitLabApiClient {
* @return a ClientResponse instance with the data returned from the endpoint
* @return a ClientResponse instance with the data returned from the endpoint
*/
*/
protected
Response
put
(
MultivaluedMap
<
String
,
String
>
queryParams
,
URL
url
)
{
protected
Response
put
(
MultivaluedMap
<
String
,
String
>
queryParams
,
URL
url
)
{
return
invocation
(
url
,
queryParams
).
put
(
null
);
return
invocation
(
url
,
null
).
put
(
Entity
.
entity
(
queryParams
,
MediaType
.
APPLICATION_FORM_URLENCODED_TYPE
)
);
}
}
...
...
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