Skip to content

Commit bd35108

Browse files
DoubleDProУсачев Дмитрий Дмитриевич
andauthored
Fix JavaDoc for "protectTag" method (#1003)
Correct JavaDoc for "protectTag" method to show actual information of GitLab endpoint method. Co-authored-by: Усачев Дмитрий Дмитриевич <[email protected]>
1 parent 91fb052 commit bd35108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/TagsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ public Optional<ProtectedTag> getOptionalProtectedTag(Object projectIdOrPath, St
415415
/**
416416
* Protects a single repository tag or several project repository tags using a wildcard protected tag.
417417
*
418-
* <pre><code>GitLab Endpoint: GET /projects/:id/protected_tags</code></pre>
418+
* <pre><code>GitLab Endpoint: POST /projects/:id/protected_tags</code></pre>
419419
*
420420
* @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path
421421
* @param name the name of the tag or wildcard

0 commit comments

Comments
 (0)