Bugfix: Crash unter Windows durch den Loader.

This commit is contained in:
Jan Philipp Timme 2014-11-02 00:17:02 +01:00
parent 8089702e4a
commit 0a43ff0d05

View File

@ -48,7 +48,7 @@ public class CodeEnvironment {
if(f.isDirectory()) {
String[] filesInDirectory = CodeEnvironment.getFileListFromFolder(f);
for(String entry : filesInDirectory) {
fileList.add(entry.replaceAll(rootPath, ""));
fileList.add(entry.replace(rootPath, ""));
}
} else {
fileList.add(f.toString());