Skip to content

Commit f67f9f1

Browse files
committed
Fixed Javadoc issues (#336).
1 parent cf5cb33 commit f67f9f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/gitlab4j/api/utils/AccessTokenUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ public static final String getHealthCheckAccessToken(final String baseUrl, final
441441
* @param baseUrl the GitLab server base URL
442442
* @param username the user name to to login for
443443
* @param password the password of the user to login for
444+
* @return the GitLab seesion token as a cookie value
444445
* @throws GitLabApiException if any error occurs
445446
*/
446447
protected static final String login(final String baseUrl, final String username,
@@ -549,8 +550,7 @@ protected static final String login(final String baseUrl, final String username,
549550
* Logs out the user associated with the GitLab session cookie.
550551
*
551552
* @param baseUrl the GitLab server base URL
552-
* @param username the user name to to login for
553-
* @param password the password of the user to login for
553+
* @param cookies the GitLab session cookie to logout
554554
* @throws GitLabApiException if any error occurs
555555
*/
556556
protected static final void logout(final String baseUrl, final String cookies) throws GitLabApiException {

src/main/java/org/gitlab4j/api/utils/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ public static String readFileContents(File file) throws IOException {
8080
/**
8181
* Reads the content of a Reader instance and returns it as a String.
8282
*
83-
* @param reader
83+
* @param reader the Reader instance to read the content from
8484
* @return the content of a Reader instance as a String
85-
* @throws IOException
85+
* @throws IOException if any error occurs
8686
*/
8787
public static String getReaderContentAsString(Reader reader) throws IOException {
8888

0 commit comments

Comments
 (0)