Skip to content

Commit c988df1

Browse files
committed
Use a short form
1 parent 29a40d3 commit c988df1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public GHBranchProtectionBuilder addRequiredChecks(String... checks) {
4444
}
4545

4646
public GHBranchProtectionBuilder dismissStaleReviews() {
47-
dismissStaleReviews(true);
48-
return this;
47+
return dismissStaleReviews(true);
4948
}
5049

5150
public GHBranchProtectionBuilder dismissStaleReviews(boolean v) {

0 commit comments

Comments
 (0)