Code polish

This commit is contained in:
nathan 2020-09-23 16:00:29 +02:00
parent 25c20fbf3f
commit feb146e8d8

View File

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