Code polish

This commit is contained in:
nathan 2020-09-23 16:00:29 +02:00
parent 25c20fbf3f
commit feb146e8d8
1 changed files with 2 additions and 4 deletions

View File

@ -67,7 +67,7 @@ class PingPongTest : BaseTest() {
fail = "Error during processing. $throwable"
}
server.onConnect { connection ->
server.onConnect { _ ->
server.forEachConnection { connection ->
connection.logger.error("server connection: $connection")
}
@ -87,9 +87,7 @@ class PingPongTest : BaseTest() {
client.onConnect { connection ->
client.forEachConnection { connection ->
connection.logger.error("client connection: $connection")
}
connection.logger.error("client connection: $connection")
fail = null
connection.send(data)