Skip to content

Commit 8259f86

Browse files
authored
Use Boolean instead of primitive boolean type for parameters (#1226)
1 parent 846cfaf commit 8259f86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: gitlab4j-api/src/main/java/org/gitlab4j/api/ProjectApi.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -2502,9 +2502,9 @@ public ProjectHook addHook(
25022502
public ProjectHook addHook(
25032503
Object projectIdOrPath,
25042504
String url,
2505-
boolean doPushEvents,
2506-
boolean doIssuesEvents,
2507-
boolean doMergeRequestsEvents)
2505+
Boolean doPushEvents,
2506+
Boolean doIssuesEvents,
2507+
Boolean doMergeRequestsEvents)
25082508
throws GitLabApiException {
25092509
return addHook(projectIdOrPath, url, doPushEvents, doIssuesEvents, doMergeRequestsEvents, null);
25102510
}

0 commit comments

Comments
 (0)