Minor, add missing space to error message

This commit is contained in:
Alexander Udalov
2015-04-20 17:29:54 +03:00
parent 02f05a1d9a
commit 2a3f658ea7
2 changed files with 24 additions and 25 deletions
@@ -68,12 +68,12 @@ public class LibrarySourcesConfig extends Config {
@NotNull String moduleId, @NotNull String moduleId,
@NotNull List<String> files, @NotNull List<String> files,
@NotNull EcmaVersion ecmaVersion, @NotNull EcmaVersion ecmaVersion,
boolean sourcemap, boolean sourceMap,
boolean inlineEnabled, boolean inlineEnabled,
boolean isUnitTestConfig, boolean isUnitTestConfig,
@Nullable String metaFileOutputPath @Nullable String metaFileOutputPath
) { ) {
super(project, moduleId, ecmaVersion, sourcemap, inlineEnabled, metaFileOutputPath); super(project, moduleId, ecmaVersion, sourceMap, inlineEnabled, metaFileOutputPath);
this.files = files; this.files = files;
this.isUnitTestConfig = isUnitTestConfig; this.isUnitTestConfig = isUnitTestConfig;
} }
@@ -155,7 +155,7 @@ public class LibrarySourcesConfig extends Config {
report.invoke("File '" + path + "' does not exist or could not be read"); report.invoke("File '" + path + "' does not exist or could not be read");
return true; return true;
} }
else {
String moduleName; String moduleName;
if (isOldKotlinJavascriptLibrary(filePath)) { if (isOldKotlinJavascriptLibrary(filePath)) {
@@ -173,7 +173,6 @@ public class LibrarySourcesConfig extends Config {
action.invoke(moduleName, file); action.invoke(moduleName, file);
} }
} }
}
return false; return false;
} }
@@ -184,7 +183,7 @@ public class LibrarySourcesConfig extends Config {
List<String> files; List<String> files;
@NotNull @NotNull
EcmaVersion ecmaVersion = EcmaVersion.defaultVersion(); EcmaVersion ecmaVersion = EcmaVersion.defaultVersion();
boolean sourcemap = false; boolean sourceMap = false;
boolean inlineEnabled = true; boolean inlineEnabled = true;
boolean isUnitTestConfig = false; boolean isUnitTestConfig = false;
String metaFileOutputPath; String metaFileOutputPath;
@@ -200,8 +199,8 @@ public class LibrarySourcesConfig extends Config {
return this; return this;
} }
public Builder sourceMap(boolean sourcemap) { public Builder sourceMap(boolean sourceMap) {
this.sourcemap = sourcemap; this.sourceMap = sourceMap;
return this; return this;
} }
@@ -221,7 +220,7 @@ public class LibrarySourcesConfig extends Config {
} }
public Config build() { public Config build() {
return new LibrarySourcesConfig(project, moduleId, files, ecmaVersion, sourcemap, inlineEnabled, isUnitTestConfig, metaFileOutputPath); return new LibrarySourcesConfig(project, moduleId, files, ecmaVersion, sourceMap, inlineEnabled, isUnitTestConfig, metaFileOutputPath);
} }
} }