(File file, String name, boolean autoExtension)
| 235 | } |
| 236 | |
| 237 | private void moveLog(File file, String name, boolean autoExtension) throws IOException { |
| 238 | if (file != null) { |
| 239 | String targetName = autoExtension ? name + getExtFromFile(file) : name; |
| 240 | Files.move(file.toPath(), Paths.get(logDir, targetName), StandardCopyOption.REPLACE_EXISTING); |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | private void moveLogs() { |
| 245 | if (logDir == null) { |
no test coverage detected