From f74f613bc1cd137b06efe3f53a4e30cdca5ab744 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Mon, 29 Mar 2021 23:06:51 +0700 Subject: [PATCH] [CHERRY PICKED FROM IJ] [jps] convert CompilerRunnerConstants to Kotlin GitOrigin-RevId: 72575637ea72a14f25bdf9b25ae44255a9c40018 Original commit: https://github.com/JetBrains/intellij-community/commit/8ac14f4734d1c6d60f5b3874bacf54224abcf757 --- .../jetbrains/kotlin/config/CompilerRunnerConstants.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jps/jps-common/src/org/jetbrains/kotlin/config/CompilerRunnerConstants.kt b/jps/jps-common/src/org/jetbrains/kotlin/config/CompilerRunnerConstants.kt index 70c584e3f28..86327102d2e 100644 --- a/jps/jps-common/src/org/jetbrains/kotlin/config/CompilerRunnerConstants.kt +++ b/jps/jps-common/src/org/jetbrains/kotlin/config/CompilerRunnerConstants.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2015 JetBrains s.r.o. + * Copyright 2010-2021 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,9 +14,9 @@ * limitations under the License. */ -package org.jetbrains.kotlin.config; +package org.jetbrains.kotlin.config -public class CompilerRunnerConstants { - public static final String KOTLIN_COMPILER_NAME = "Kotlin"; - public static final String INTERNAL_ERROR_PREFIX = "[Internal Error] "; +object CompilerRunnerConstants { + const val KOTLIN_COMPILER_NAME = "Kotlin" + const val INTERNAL_ERROR_PREFIX = "[Internal Error] " }