Removed auto attempted config file creation on config read IOException.
This commit is contained in:
parent
b0c1098110
commit
086f887d20
@ -31,11 +31,7 @@ public final class ConfigManager {
|
||||
return Arrays.asList(librarySettings.getProperty(foldersKey).split(","))
|
||||
.stream().map(File::new).filter(File::exists).collect(Collectors.toList());
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
propertiesFile.getParentFile().mkdirs();
|
||||
try {
|
||||
propertiesFile.createNewFile();
|
||||
} catch (IOException ignored) {}
|
||||
} catch (IOException ignored) {
|
||||
}
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user