Skip to content

Commit a3a4141

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 80c493a commit a3a4141

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/transport/TransportVersionResourcesService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ boolean checkIfDefinitelyOnReleaseBranch(Collection<TransportVersionUpperBound>
264264
// only want to look at definitions <= the current upper bound.
265265
// TODO: we should filter all of the upper bounds/definitions that are validated by this, not just in this method
266266
TransportVersionUpperBound currentUpperBound = upperBounds.stream()
267-
.filter(u -> u.name().equals(currentUpperBoundName)).findFirst().orElse(null);
267+
.filter(u -> u.name().equals(currentUpperBoundName))
268+
.findFirst()
269+
.orElse(null);
268270
if (currentUpperBound == null) {
269271
// since there is no current upper bound, we don't know if we are on a release branch
270272
return false;

0 commit comments

Comments
 (0)