GH-3549: Clean up more SonarQube smells

Fixes https://github.com/spring-projects/spring-integration/issues/3549
This commit is contained in:
trungPa
2021-07-27 22:24:14 +07:00
committed by GitHub
parent 2be6d86ff9
commit 61153578c5
6 changed files with 7 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ public abstract class AbstractStompSessionManager implements StompSessionManager
CountDownLatch connectLatch = addStompSessionCallback(currentEpoch);
try {
if (!connectLatch.await(30, TimeUnit.SECONDS)) {
if (!connectLatch.await(30, TimeUnit.SECONDS)) { // NOSONAR magic number
this.logger.error("No response to connection attempt");
if (currentEpoch == this.epoch.get()) {
scheduleReconnect(null);