GH-3549: Clean up more SonarQube smells
Fixes https://github.com/spring-projects/spring-integration/issues/3549
This commit is contained in:
@@ -394,7 +394,7 @@ public final class TestMailServer {
|
||||
LOGGER.error(IO_EXCEPTION, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // NOSONAR
|
||||
|
||||
void searchReply(String tag) throws IOException {
|
||||
if (seen) {
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user