Commit 60879e8e authored by Greg Messner's avatar Greg Messner
Browse files

Added @return to forkProject() methods (#106).

parent 34ba7e19
...@@ -839,6 +839,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -839,6 +839,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* *
* @param id the ID of the project to fork * @param id the ID of the project to fork
* @param namespace path of the namespace that the project will be forked to * @param namespace path of the namespace that the project will be forked to
* @return the newly forked Project instance
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public Project forkProject(Integer id, String namespace) throws GitLabApiException { public Project forkProject(Integer id, String namespace) throws GitLabApiException {
...@@ -857,6 +858,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -857,6 +858,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* *
* @param project the project to fork * @param project the project to fork
* @param namespace path of the namespace that the project will be forked to * @param namespace path of the namespace that the project will be forked to
* @return the newly forked Project instance
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public Project forkProject(Project project, String namespace) throws GitLabApiException { public Project forkProject(Project project, String namespace) throws GitLabApiException {
...@@ -872,6 +874,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -872,6 +874,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* *
* @param id the ID of the project to fork * @param id the ID of the project to fork
* @param namespaceId ID of the namespace that the project will be forked to * @param namespaceId ID of the namespace that the project will be forked to
* @return the newly forked Project instance
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public Project forkProject(Integer id, Integer namespaceId) throws GitLabApiException { public Project forkProject(Integer id, Integer namespaceId) throws GitLabApiException {
...@@ -890,6 +893,7 @@ public class ProjectApi extends AbstractApi implements Constants { ...@@ -890,6 +893,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* *
* @param project the project to fork * @param project the project to fork
* @param namespaceId ID of the namespace that the project will be forked to * @param namespaceId ID of the namespace that the project will be forked to
* @return the newly forked Project instance
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public Project forkProject(Project project, Integer namespaceId) throws GitLabApiException { public Project forkProject(Project project, Integer namespaceId) throws GitLabApiException {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment