Cosmetics
This commit is contained in:
@@ -64,12 +64,12 @@ public final class K2JSCompiler implements TranslatingCompiler {
|
||||
return;
|
||||
}
|
||||
|
||||
final Module module = getModule(context, moduleChunk);
|
||||
Module module = getModule(context, moduleChunk);
|
||||
if (module == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
final CompilerEnvironment environment = CompilerEnvironment.getEnvironmentFor(context, module, /*tests = */ false);
|
||||
CompilerEnvironment environment = CompilerEnvironment.getEnvironmentFor(context, module, /*tests = */ false);
|
||||
if (!environment.success()) {
|
||||
environment.reportErrorsTo(context);
|
||||
return;
|
||||
|
||||
@@ -70,6 +70,7 @@ public final class K2JSRunnerUtils {
|
||||
notifySuccess(outputDirPath);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static String constructPathToGeneratedFile(@NotNull Project project, @NotNull String outputDirPath) {
|
||||
return outputDirPath + "/" + project.getName() + ".js";
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.StringTokenizer;
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
*/
|
||||
public class FacadeUtils {
|
||||
public final class FacadeUtils {
|
||||
|
||||
private FacadeUtils() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user