sopehl / fmerger

Merge the files that are configured by specific rules.👾

Home Page:http://fmerger.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is log for carrying files success without checking the varible isMoved

sopehl opened this issue · comments

LOG.info("File moved success: " + source.getAbsolutePath() + " --> " + targetOutputPath + archiveFileNameWithExtension);

boolean isMoved = FileUtils.moveFile(source, targetOutputPath, archiveFileNameWithExtension);

first check isMoved success or not, then add the log after condition

In FileArchive.java file line ~45/46