Fix compiler warnings in compiler code

This commit is contained in:
Alexander Udalov
2020-08-14 12:55:43 +02:00
parent 9b94e073af
commit a21f273570
84 changed files with 149 additions and 141 deletions
@@ -55,8 +55,7 @@ class TestProxy(val serverPort: Int, val testClass: String, val classPath: List<
}
fun runTestNoOutput(): String {
return Socket("localhost", serverPort).use { clientSocket ->
Socket("localhost", serverPort).use { clientSocket ->
val output = ObjectOutputStream(clientSocket.getOutputStream())
try {
output.writeObject(MessageHeader.NEW_TEST)