Changes in config

This commit is contained in:
unknown
2012-02-10 12:52:51 +04:00
parent bd0304b08d
commit 63e49000e4
@@ -21,8 +21,6 @@ import java.util.List;
*/ */
public abstract class Config { public abstract class Config {
@NotNull
private static final String PATH_TO_JS_LIB_SRC = getPathToJsLibSrc();
//TODO: provide some generic way to get the files of the project //TODO: provide some generic way to get the files of the project
@NotNull @NotNull
@@ -39,17 +37,6 @@ public abstract class Config {
); );
@NotNull
private static String getPathToJsLibSrc() {
try {
File file = new File("config.txt");
List<String> lines = Files.readLines(file, Charsets.UTF_8);
return lines.get(0);
} catch (Exception ex) {
return "jslib/src";
}
}
@NotNull @NotNull
private static List<JetFile> initLibFiles(@NotNull Project project) { private static List<JetFile> initLibFiles(@NotNull Project project) {
List<JetFile> libFiles = new ArrayList<JetFile>(); List<JetFile> libFiles = new ArrayList<JetFile>();