|
|
@ -57,10 +57,8 @@ public class RestartHelper { |
|
|
|
properties.setProperty((i + size) + "", files[i]); |
|
|
|
properties.setProperty((i + size) + "", files[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
try { |
|
|
|
try (FileOutputStream file2DeleteOutputStream = new FileOutputStream(file)) { |
|
|
|
FileOutputStream file2DeleteOutputStream = new FileOutputStream(file); |
|
|
|
|
|
|
|
properties.store(file2DeleteOutputStream, "save"); |
|
|
|
properties.store(file2DeleteOutputStream, "save"); |
|
|
|
file2DeleteOutputStream.close(); |
|
|
|
|
|
|
|
} catch (IOException e) { |
|
|
|
} catch (IOException e) { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|