Rename K2JVMCompilerVersion -> CompilerVersion, move to common.

This commit is contained in:
pTalanov
2012-05-02 15:28:46 +04:00
parent 7ba22df327
commit f3e2a94745
2 changed files with 3 additions and 4 deletions
@@ -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@";