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
04aa96be
Commit
04aa96be
authored
May 16, 2019
by
Greg Messner
Browse files
Fixed issue with space in param name (#356).
parent
cc17e2c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/GitLabApiForm.java
View file @
04aa96be
...
...
@@ -192,7 +192,7 @@ public class GitLabApiForm extends Form {
throw
new
IllegalArgumentException
(
name
+
" cannot be empty or null"
);
}
this
.
param
(
name
,
stringValue
);
this
.
param
(
name
.
trim
()
,
stringValue
);
return
(
this
);
}
...
...
src/main/java/org/gitlab4j/api/models/ProjectFilter.java
View file @
04aa96be
...
...
@@ -254,7 +254,7 @@ public class ProjectFilter {
.
withParam
(
"with_programming_language"
,
withProgrammingLanguage
)
.
withParam
(
"wiki_checksum_failed"
,
wikiChecksumFailed
)
.
withParam
(
"repository_checksum_failed"
,
repositoryChecksumFailed
)
.
withParam
(
"min_access_level
"
,
(
minAccessLevel
!=
null
?
minAccessLevel
.
toValue
()
:
null
)
.
withParam
(
"min_access_level"
,
(
minAccessLevel
!=
null
?
minAccessLevel
.
toValue
()
:
null
)
);
}
}
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