@@ -190,7 +190,7 @@ public ProtectedBranch protectBranch(Object projectIdOrPath, String branchName,
190190 return (response .readEntity (ProtectedBranch .class ));
191191 }
192192
193- /**
193+ /**
194194 * Protects a single repository branch or several project repository branches using a wildcard protected branch.
195195 *
196196 * <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,
205205 * @param codeOwnerApprovalRequired prevent pushes to this branch if it matches an item in the CODEOWNERS file. (defaults: false)
206206 * @return the branch info for the protected branch
207207 * @throws GitLabApiException if any exception occurs
208- */
208+ */
209209 public ProtectedBranch protectBranch (Object projectIdOrPath , String branchName ,
210- Integer allowedToPushUserId , Integer allowedToMergeUserId , Integer allowedToUnprotectUserId ,
210+ Long allowedToPushUserId , Long allowedToMergeUserId , Long allowedToUnprotectUserId ,
211211 Boolean codeOwnerApprovalRequired ) throws GitLabApiException {
212212 return protectBranch (projectIdOrPath , branchName , allowedToPushUserId , allowedToMergeUserId , allowedToUnprotectUserId , codeOwnerApprovalRequired , null );
213213 }
@@ -230,7 +230,7 @@ public ProtectedBranch protectBranch(Object projectIdOrPath, String branchName,
230230 * @throws GitLabApiException if any exception occurs
231231 */
232232 public ProtectedBranch protectBranch (Object projectIdOrPath , String branchName ,
233- Integer allowedToPushUserId , Integer allowedToMergeUserId , Integer allowedToUnprotectUserId ,
233+ Long allowedToPushUserId , Long allowedToMergeUserId , Long allowedToUnprotectUserId ,
234234 Boolean codeOwnerApprovalRequired , Boolean allowForcedPush ) throws GitLabApiException {
235235
236236 Form formData = new GitLabApiForm ()
0 commit comments