From e87665d6e88148a60fb44ced71903c9c1a366e5e Mon Sep 17 00:00:00 2001 From: Gregor Heine Date: Fri, 20 Oct 2023 19:57:19 +0100 Subject: [PATCH] Run spotless --- .../github/GHBranchProtectionBuilder.java | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java b/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java index 70a614894a..ec21b3168c 100644 --- a/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java +++ b/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java @@ -77,8 +77,8 @@ public GHBranchProtectionBuilder allowDeletions() { } /** - * Allows deletion of the protected branch by anyone with write access to the repository. - * Set to true to allow deletion of the protected branch. Default: false. + * Allows deletion of the protected branch by anyone with write access to the repository. Set to true to allow + * deletion of the protected branch. Default: false. * * @param v * the v @@ -99,8 +99,8 @@ public GHBranchProtectionBuilder allowForcePushes() { } /** - * Permits force pushes to the protected branch by anyone with write access to the repository. - * Set to true to allow force pushes. Set to false to block force pushes. Default: false. + * Permits force pushes to the protected branch by anyone with write access to the repository. Set to true to allow + * force pushes. Set to false to block force pushes. Default: false. * * @param v * the v @@ -121,8 +121,8 @@ public GHBranchProtectionBuilder allowForkSyncing() { } /** - * Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. - * Set to true to enable. Default: false. + * Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to + * true to enable. Default: false. * * @param v * the v @@ -225,8 +225,8 @@ public GHBranchProtectionBuilder lockBranch() { } /** - * Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. - * Set to true to enable. Default: false. + * Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Set to + * true to enable. Default: false. * * @param v * the v @@ -313,8 +313,8 @@ public GHBranchProtectionBuilder requireLastPushApproval(boolean v) { } /** - * Require all conversations on code to be resolved before a pull request can be merged into a branch that - * matches this rule. + * Require all conversations on code to be resolved before a pull request can be merged into a branch that matches + * this rule. * * @return the gh branch protection builder */ @@ -323,9 +323,8 @@ public GHBranchProtectionBuilder requiredConversationResolution() { } /** - * Require all conversations on code to be resolved before a pull request can be merged into a branch that - * matches this rule. - * Set to true to enable. Default: false. + * Require all conversations on code to be resolved before a pull request can be merged into a branch that matches + * this rule. Set to true to enable. Default: false. * * @param v * the v @@ -348,8 +347,7 @@ public GHBranchProtectionBuilder requiredLinearHistory() { /** * Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to true * to enforce a linear commit history. Set to false to disable a linear commit Git history. Your repository must - * allow squash merging or rebase merging before you can enable a linear commit history. - * Default: false. + * allow squash merging or rebase merging before you can enable a linear commit history. Default: false. * * @param v * the v