@@ -839,6 +839,7 @@ public void deleteProject(Project project) throws GitLabApiException {
839
839
*
840
840
* @param id the ID of the project to fork
841
841
* @param namespace path of the namespace that the project will be forked to
842
+ * @return the newly forked Project instance
842
843
* @throws GitLabApiException if any exception occurs
843
844
*/
844
845
public Project forkProject (Integer id , String namespace ) throws GitLabApiException {
@@ -857,6 +858,7 @@ public Project forkProject(Integer id, String namespace) throws GitLabApiExcepti
857
858
*
858
859
* @param project the project to fork
859
860
* @param namespace path of the namespace that the project will be forked to
861
+ * @return the newly forked Project instance
860
862
* @throws GitLabApiException if any exception occurs
861
863
*/
862
864
public Project forkProject (Project project , String namespace ) throws GitLabApiException {
@@ -872,6 +874,7 @@ public Project forkProject(Project project, String namespace) throws GitLabApiEx
872
874
*
873
875
* @param id the ID of the project to fork
874
876
* @param namespaceId ID of the namespace that the project will be forked to
877
+ * @return the newly forked Project instance
875
878
* @throws GitLabApiException if any exception occurs
876
879
*/
877
880
public Project forkProject (Integer id , Integer namespaceId ) throws GitLabApiException {
@@ -890,6 +893,7 @@ public Project forkProject(Integer id, Integer namespaceId) throws GitLabApiExce
890
893
*
891
894
* @param project the project to fork
892
895
* @param namespaceId ID of the namespace that the project will be forked to
896
+ * @return the newly forked Project instance
893
897
* @throws GitLabApiException if any exception occurs
894
898
*/
895
899
public Project forkProject (Project project , Integer namespaceId ) throws GitLabApiException {
0 commit comments