Fix "Should be replaced with Kotlin function" warnings

This commit is contained in:
Dmitry Gridin
2019-04-16 12:12:06 +07:00
parent d738a12b86
commit 3bed360c98
77 changed files with 161 additions and 99 deletions
@@ -21,6 +21,7 @@ import com.intellij.execution.util.ExecUtil
import com.intellij.util.LineSeparator
import java.io.File
import java.util.regex.Pattern
import kotlin.system.exitProcess
// This file generates protobuf classes from formal description.
// To run it, you'll need protoc (protobuf compiler) 2.6.1 installed.
@@ -86,7 +87,7 @@ fun main(args: Array<String>) {
}
finally {
// Workaround for JVM hanging: IDEA's process handler creates thread pool
System.exit(0)
exitProcess(0)
}
}