Skip to content

Commit 4b2810f

Browse files
committed
Fixing checkstyle issues
1 parent 2a5938e commit 4b2810f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

core/spring-cloud-stream-integration-tests/src/test/java/org/springframework/cloud/stream/function/StreamBridgeTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@
2323
import java.util.Set;
2424
import java.util.UUID;
2525
import java.util.concurrent.BrokenBarrierException;
26-
import java.util.concurrent.CyclicBarrier;
2726
import java.util.concurrent.CountDownLatch;
27+
import java.util.concurrent.CyclicBarrier;
2828
import java.util.concurrent.Executors;
2929
import java.util.concurrent.ScheduledExecutorService;
30-
import java.util.concurrent.TimeoutException;
3130
import java.util.concurrent.TimeUnit;
31+
import java.util.concurrent.TimeoutException;
3232
import java.util.concurrent.atomic.AtomicBoolean;
33-
3433
import java.util.function.Consumer;
3534
import java.util.function.Function;
3635
import java.util.function.Supplier;
@@ -920,10 +919,11 @@ public Function<String, Message<String>> concurrentFunction(StreamBridge bridge,
920919
try {
921920
cyclicBarrierFunction.await(5, TimeUnit.SECONDS); // wait for notifying main thread to send other event
922921
cyclicBarrierFunction.await(5, TimeUnit.SECONDS); // wait for other event been sent
923-
} catch (BrokenBarrierException | InterruptedException | TimeoutException e) {
922+
}
923+
catch (BrokenBarrierException | InterruptedException | TimeoutException e) {
924924
throw new RuntimeException(e);
925925
}
926-
}
926+
}
927927
return MessageBuilder.withPayload(s)
928928
.setHeader("partitionKey", s.length())
929929
.build();

core/spring-cloud-stream/src/test/java/org/springframework/cloud/stream/binder/DefaultBinderFactoryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2023 the original author or authors.
2+
* Copyright 2023-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
2525
import static org.mockito.Mockito.mock;
2626

2727
/**
28-
* Tests for {@link DefaultBinderFactory}
28+
* Tests for {@link DefaultBinderFactory}.
2929
*
3030
* @author Chris Bono
3131
*/

0 commit comments

Comments
 (0)