@@ -190,7 +190,7 @@ public ProtectedBranch protectBranch(Object projectIdOrPath, String branchName,
190
190
return (response .readEntity (ProtectedBranch .class ));
191
191
}
192
192
193
- /**
193
+ /**
194
194
* Protects a single repository branch or several project repository branches using a wildcard protected branch.
195
195
*
196
196
* <p>NOTE: This method is only available to GitLab Starter, Bronze, or higher.</p>
@@ -205,9 +205,9 @@ public ProtectedBranch protectBranch(Object projectIdOrPath, String branchName,
205
205
* @param codeOwnerApprovalRequired prevent pushes to this branch if it matches an item in the CODEOWNERS file. (defaults: false)
206
206
* @return the branch info for the protected branch
207
207
* @throws GitLabApiException if any exception occurs
208
- */
208
+ */
209
209
public ProtectedBranch protectBranch (Object projectIdOrPath , String branchName ,
210
- Integer allowedToPushUserId , Integer allowedToMergeUserId , Integer allowedToUnprotectUserId ,
210
+ Long allowedToPushUserId , Long allowedToMergeUserId , Long allowedToUnprotectUserId ,
211
211
Boolean codeOwnerApprovalRequired ) throws GitLabApiException {
212
212
return protectBranch (projectIdOrPath , branchName , allowedToPushUserId , allowedToMergeUserId , allowedToUnprotectUserId , codeOwnerApprovalRequired , null );
213
213
}
@@ -230,7 +230,7 @@ public ProtectedBranch protectBranch(Object projectIdOrPath, String branchName,
230
230
* @throws GitLabApiException if any exception occurs
231
231
*/
232
232
public ProtectedBranch protectBranch (Object projectIdOrPath , String branchName ,
233
- Integer allowedToPushUserId , Integer allowedToMergeUserId , Integer allowedToUnprotectUserId ,
233
+ Long allowedToPushUserId , Long allowedToMergeUserId , Long allowedToUnprotectUserId ,
234
234
Boolean codeOwnerApprovalRequired , Boolean allowForcedPush ) throws GitLabApiException {
235
235
236
236
Form formData = new GitLabApiForm ()
0 commit comments