提交 f3e2a947 编写于 作者: P pTalanov

Rename K2JVMCompilerVersion -> CompilerVersion, move to common.

上级 7ba22df3
......@@ -21,7 +21,6 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.cli.common.messages.CompilerMessageLocation;
import org.jetbrains.jet.cli.common.messages.CompilerMessageSeverity;
import org.jetbrains.jet.cli.common.messages.MessageRenderer;
import org.jetbrains.jet.cli.jvm.K2JVMCompilerVersion;
import org.jetbrains.jet.cli.jvm.compiler.CompileEnvironmentException;
import java.io.PrintStream;
......@@ -130,7 +129,7 @@ public abstract class CLICompiler<A extends CompilerArguments, C extends Compile
@NotNull MessageRenderer messageRenderer) {
if (arguments.isVersion()) {
String versionMessage = messageRenderer.render(CompilerMessageSeverity.INFO,
"Kotlin Compiler version " + K2JVMCompilerVersion.VERSION,
"Kotlin Compiler version " + CompilerVersion.VERSION,
CompilerMessageLocation.NO_LOCATION);
errStream.println(versionMessage);
}
......
......@@ -14,12 +14,12 @@
* limitations under the License.
*/
package org.jetbrains.jet.cli.jvm;
package org.jetbrains.jet.cli.common;
/**
* @author abreslav
*/
public class K2JVMCompilerVersion {
public class CompilerVersion {
// The value of this constant is generated by the build script
// DON'T MODIFY IT
public static final String VERSION = "@snapshot@";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册