Fix "Should be replaced with Kotlin function" warnings
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -1,7 +1,7 @@
|
||||
package projB
|
||||
|
||||
fun main(vararg args: String) {
|
||||
System.out.println(projA.getInfo())
|
||||
println(projA.getInfo())
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user