Reduce Code Complexity in TCP Methods

This commit is contained in:
Gary Russell
2021-04-26 13:02:58 -04:00
parent 0ea9d700de
commit 0dfbfa0677
4 changed files with 203 additions and 159 deletions

View File

@@ -95,8 +95,8 @@ public final class TestMailServer {
super(socket);
}
@Override
void doRun() {
@Override // NOSONAR
void doRun() { // NOSONAR
try {
write("220 foo SMTP");
while (!socket.isClosed()) {
@@ -391,7 +391,7 @@ public final class TestMailServer {
LOGGER.error(IO_EXCEPTION, e);
}
}
} // NOSONAR
}
void searchReply(String tag) throws IOException {
if (seen) {