diff --git a/src/main/java/musicplayer/ConfigManager.java b/src/main/java/musicplayer/ConfigManager.java index 2bda40d..bfdfe33 100644 --- a/src/main/java/musicplayer/ConfigManager.java +++ b/src/main/java/musicplayer/ConfigManager.java @@ -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<>(); }