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