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
@@ -306,7 +306,7 @@ abstract class BaseGradleIT {
} catch (t: Throwable) {
// to prevent duplication of output
if (!options.forceOutputToStdout) {
System.out.println(result.output)
println(result.output)
}
throw t
}
@@ -37,7 +37,7 @@ fun runProcess(
val sb = StringBuilder()
process.inputStream!!.bufferedReader().forEachLine {
if (options?.forceOutputToStdout ?: false) {
System.out.println(it)
println(it)
}
sb.appendln(it)
}
@@ -1,7 +1,7 @@
package projB
fun main(vararg args: String) {
System.out.println(projA.getInfo())
println(projA.getInfo())
}