1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Use a val.

This commit is contained in:
Cedric Beust 2016-07-26 02:24:44 -08:00
parent d18c8009c8
commit 901447c1f6

View file

@ -152,7 +152,7 @@ abstract class GenericTestRunner: ITestRunnerContributor {
} }
// JVM flags from the interceptors (these overwrite flags instead of just adding to the list) // JVM flags from the interceptors (these overwrite flags instead of just adding to the list)
var result = ArrayList(jvmFlags + jvmFlagsFromContributors) val result = ArrayList(jvmFlags + jvmFlagsFromContributors)
pluginInfo.testJvmFlagInterceptors.forEach { pluginInfo.testJvmFlagInterceptors.forEach {
val newFlags = it.testJvmFlagsFor(project, context, result) val newFlags = it.testJvmFlagsFor(project, context, result)
result.clear() result.clear()