Cosmetics

This commit is contained in:
pTalanov
2012-05-16 15:32:17 +04:00
parent 3b95ba798e
commit feaf218836
3 changed files with 4 additions and 3 deletions
@@ -64,12 +64,12 @@ public final class K2JSCompiler implements TranslatingCompiler {
return; return;
} }
final Module module = getModule(context, moduleChunk); Module module = getModule(context, moduleChunk);
if (module == null) { if (module == null) {
return; return;
} }
final CompilerEnvironment environment = CompilerEnvironment.getEnvironmentFor(context, module, /*tests = */ false); CompilerEnvironment environment = CompilerEnvironment.getEnvironmentFor(context, module, /*tests = */ false);
if (!environment.success()) { if (!environment.success()) {
environment.reportErrorsTo(context); environment.reportErrorsTo(context);
return; return;
@@ -70,6 +70,7 @@ public final class K2JSRunnerUtils {
notifySuccess(outputDirPath); notifySuccess(outputDirPath);
} }
@NotNull
public static String constructPathToGeneratedFile(@NotNull Project project, @NotNull String outputDirPath) { public static String constructPathToGeneratedFile(@NotNull Project project, @NotNull String outputDirPath) {
return outputDirPath + "/" + project.getName() + ".js"; return outputDirPath + "/" + project.getName() + ".js";
} }
@@ -29,7 +29,7 @@ import java.util.StringTokenizer;
/** /**
* @author Pavel Talanov * @author Pavel Talanov
*/ */
public class FacadeUtils { public final class FacadeUtils {
private FacadeUtils() { private FacadeUtils() {
} }