Cosmetics
This commit is contained in:
@@ -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() {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user