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

@@ -394,7 +394,7 @@ public final class TestMailServer {
LOGGER.error(IO_EXCEPTION, e);
}
}
}
} // NOSONAR
void searchReply(String tag) throws IOException {
if (seen) {

View File

@@ -86,7 +86,7 @@ public class OnlyOnceTrigger implements Trigger {
public void await() {
try {
if (!this.latch.await(10000, TimeUnit.MILLISECONDS)) {
if (!this.latch.await(10000, TimeUnit.MILLISECONDS)) { // NOSONAR magic number
throw new IllegalStateException("test latch.await() did not count down");
}
}