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
60879e8e
Commit
60879e8e
authored
Dec 04, 2017
by
Greg Messner
Browse files
Added @return to forkProject() methods (#106).
parent
34ba7e19
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ProjectApi.java
View file @
60879e8e
...
@@ -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
{
...
...
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