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
661ea9b2
Commit
661ea9b2
authored
Oct 09, 2019
by
Greg Messner
Browse files
Fixed Javadoc issues (#447).
parent
775e147a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ProjectApi.java
View file @
661ea9b2
...
...
@@ -2952,8 +2952,8 @@ public class ProjectApi extends AbstractApi implements Constants {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/badges</code></pre>
*
* @param projectIdOrPath the project in the form of an Integer(ID),
*
String(path), or Project instance
* @param projectIdOrPath the project in the form of an Integer(ID),
String(path), or Project instance
*
@return a List of Badge instances for the specified project
* @throws GitLabApiException if any exception occurs
*/
public
List
<
Badge
>
getBadges
(
Object
projectIdOrPath
)
throws
GitLabApiException
{
...
...
@@ -2984,7 +2984,6 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
* @param badgeId the ID of the badge to get
* @return an Optional instance with the specified badge as the value
* @throws GitLabApiException if any exception occurs
*/
public
Optional
<
Badge
>
getOptionalBadge
(
Object
projectIdOrPath
,
Integer
badgeId
)
{
try
{
...
...
@@ -3040,7 +3039,6 @@ public class ProjectApi extends AbstractApi implements Constants {
*
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
* @param badgeId the ID of the badge to remove
* @return a Badge instance for the specified project/badge ID pair
* @throws GitLabApiException if any exception occurs
*/
public
void
removeBadge
(
Object
projectIdOrPath
,
Integer
badgeId
)
throws
GitLabApiException
{
...
...
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