Skip to content

Commit eecfdf2

Browse files
committed
BranchDiscoveryTrait: "mvn spotless:apply" formatting to the source code
1 parent 3c34f67 commit eecfdf2

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/main/java/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,12 @@ public boolean isExcluded(@NonNull SCMSourceRequest request, @NonNull SCMHead he
233233
// Log that we ignore the branch and why.
234234
// End the format with newline to avoid logging this
235235
// result blocked together with a later indexed branch.
236-
request
237-
.listener()
238-
.getLogger()
239-
.format(
240-
"Ignoring %s because current strategy excludes branches "
241-
+ "that ARE also filed as a pull request%n",
242-
head.toString());
236+
request.listener()
237+
.getLogger()
238+
.format(
239+
"Ignoring %s because current strategy excludes branches "
240+
+ "that ARE also filed as a pull request%n",
241+
head.toString());
243242
return true;
244243
}
245244
}
@@ -265,13 +264,12 @@ public boolean isExcluded(@NonNull SCMSourceRequest request, @NonNull SCMHead he
265264
// Log that we ignore the branch and why.
266265
// End the format with newline to avoid logging this
267266
// result blocked together with a later indexed branch.
268-
request
269-
.listener()
270-
.getLogger()
271-
.format(
272-
"Ignoring %s because current strategy excludes branches "
273-
+ "that ARE NOT also filed as a pull request%n",
274-
head.toString());
267+
request.listener()
268+
.getLogger()
269+
.format(
270+
"Ignoring %s because current strategy excludes branches "
271+
+ "that ARE NOT also filed as a pull request%n",
272+
head.toString());
275273
return true;
276274
}
277275
return false;

0 commit comments

Comments
 (0)