Pure cosmetics in K2JSCompiler*

This commit is contained in:
pTalanov
2012-05-05 17:10:58 +04:00
parent ea6076f638
commit 9681a61fd2
2 changed files with 3 additions and 3 deletions
@@ -67,8 +67,8 @@ public class K2JSCompiler extends CLICompiler<K2JSCompilerArguments, K2JSCompile
return ExitCode.INTERNAL_ERROR; return ExitCode.INTERNAL_ERROR;
} }
final JetCoreEnvironment environmentForJS = getEnvironment(arguments, rootDisposable); JetCoreEnvironment environmentForJS = getEnvironment(arguments, rootDisposable);
final Config config = getConfig(arguments, environmentForJS.getProject()); Config config = getConfig(arguments, environmentForJS.getProject());
if (analyzeAndReportErrors(messageCollector, environmentForJS.getSourceFiles(), config)) { if (analyzeAndReportErrors(messageCollector, environmentForJS.getSourceFiles(), config)) {
return ExitCode.COMPILATION_ERROR; return ExitCode.COMPILATION_ERROR;
} }
@@ -47,7 +47,7 @@ public class K2JSCompilerArguments extends CompilerArguments {
@Argument(value = "version", description = "Display compiler version") @Argument(value = "version", description = "Display compiler version")
public boolean version; public boolean version;
@Argument(value = "help", alias = "h", description = "show help") @Argument(value = "help", alias = "h", description = "Show help")
public boolean help; public boolean help;
@Override @Override