diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/bothJdkClasspathPatcher.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/bothJdkClasspathPatcher.kt index b45e10ff664..a27fba5990b 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/bothJdkClasspathPatcher.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/bothJdkClasspathPatcher.kt @@ -37,7 +37,7 @@ fun disableJava6FileManager() { } private fun setFinalStaticToNull(field: Field) { - field.isAccessible = true; + field.isAccessible = true val modifiersField = (Field::class.java).getDeclaredField("modifiers") modifiersField.isAccessible = true diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt index 30183d7a1fc..78b37df8d93 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt @@ -96,7 +96,7 @@ abstract class AbstractIncrementalJpsTest( TestLoggerFactory.enableDebugLogging(myTestRootDisposable, "#org") val console = ConsoleAppender() - console.layout = PatternLayout("%d [%p|%c|%C{1}] %m%n"); + console.layout = PatternLayout("%d [%p|%c|%C{1}] %m%n") console.threshold = Level.ALL console.activateOptions() Logger.getRootLogger().addAppender(console) diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt index f848d7a9dbe..3f69c28f4cd 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/KotlinJpsBuildTest.kt @@ -650,16 +650,16 @@ class KotlinJpsBuildTest : AbstractKotlinJpsBuildTestCase() { val buildResult = BuildResult() val canceledStatus = object: CanceledStatus { - var checkFromIndex = 0; + var checkFromIndex = 0 override fun isCanceled(): Boolean { val messages = buildResult.getMessages(BuildMessage.Kind.INFO) for (i in checkFromIndex..messages.size - 1) { - if (messages.get(i).messageText.startsWith("Kotlin JPS plugin version")) return true; + if (messages.get(i).messageText.startsWith("Kotlin JPS plugin version")) return true } - checkFromIndex = messages.size; - return false; + checkFromIndex = messages.size + return false } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/SimpleKotlinJpsBuildTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/SimpleKotlinJpsBuildTest.kt index 23b1d45e2ff..124f60f8d93 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/SimpleKotlinJpsBuildTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/SimpleKotlinJpsBuildTest.kt @@ -69,7 +69,7 @@ class SimpleKotlinJpsBuildTest : AbstractKotlinJpsBuildTestCase() { System.setProperty(COMPILE_DAEMON_ENABLED_PROPERTY, "") System.setProperty(COMPILE_DAEMON_VERBOSE_REPORT_PROPERTY, "") // spaces in the name to test proper file name handling - val flagFile = File.createTempFile("kotlin-jps - tests-", "-is-running"); + val flagFile = File.createTempFile("kotlin-jps - tests-", "-is-running") val logFile = File.createTempFile("kotlin-daemon", ".log") System.setProperty(COMPILE_DAEMON_CLIENT_ALIVE_PATH_PROPERTY, flagFile.absolutePath) System.setProperty(COMPILE_DAEMON_LOG_PATH_PROPERTY, logFile.loggerCompatiblePath) diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/AbstractProtoComparisonTest.kt b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/AbstractProtoComparisonTest.kt index 9cf233a9f79..8b7afbd6796 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/AbstractProtoComparisonTest.kt +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/AbstractProtoComparisonTest.kt @@ -62,7 +62,7 @@ abstract class AbstractProtoComparisonTest : UsefulTestCase() { p.printDifference(oldClassMap[name]!!, newClassMap[name]!!) } - KotlinTestUtils.assertEqualsToFile(File(testDataPath + File.separator + "result.out"), sb.toString()); + KotlinTestUtils.assertEqualsToFile(File(testDataPath + File.separator + "result.out"), sb.toString()) } private fun compileFileAndGetClasses(testPath: String, testDir: File, prefix: String): List {